triSYCL implementation of SYCL
opencl_spir.h
Go to the documentation of this file.
1//
2// SPIR Tools
3//
4// This file is distributed under the University of Illinois Open Source
5// License. See LICENSE.TXT for details.
6//
7
8#ifndef _OPENCL_H_
9#define _OPENCL_H_
10
11#if !defined(__SPIR32__) && !defined(__SPIR64__)
12#error "This header file should be used with SPIR target only."
13#endif
14
15/// Added according to pocl/examples/example1-spir64/generate_spir.sh
16/// \todo avoid this hack
17#pragma OPENCL EXTENSION cl_khr_fp64 : enable
18
19// Optimizations
20
21#define const_func __attribute__((const))
22#define readonly __attribute__((pure))
23
24// built-in scalar data types:
25
26/**
27 * An unsigned 8-bit integer.
28 */
29typedef unsigned char uchar;
30
31/**
32 * An unsigned 16-bit integer.
33 */
34typedef unsigned short ushort;
35
36/**
37 * An unsigned 32-bit integer.
38 */
39typedef unsigned int uint;
40
41/**
42 * An unsigned 64-bit integer.
43 */
44typedef unsigned long ulong;
45
46/**
47 * The unsigned integer type of the result of the sizeof operator. This
48 * is a 32-bit unsigned integer if CL_DEVICE_ADDRESS_BITS
49 * defined in table 4.3 is 32-bits and is a 64-bit unsigned integer if
50 * CL_DEVICE_ADDRESS_BITS is 64-bits.
51 */
52#if defined(__SPIR32__)
53typedef uint size_t;
54#elif defined (__SPIR64__)
55typedef ulong size_t;
56#endif
57
58/**
59 * A signed integer type that is the result of subtracting two pointers.
60 * This is a 32-bit signed integer if CL_DEVICE_ADDRESS_BITS
61 * defined in table 4.3 is 32-bits and is a 64-bit signed integer if
62 * CL_DEVICE_ADDRESS_BITS is 64-bits.
63 */
64#if defined(__SPIR32__)
65typedef int ptrdiff_t;
66#elif defined (__SPIR64__ )
67typedef long ptrdiff_t;
68#endif
69
70typedef ptrdiff_t intptr_t;
71
72typedef size_t uintptr_t;
73
74
75// built-in vector data types:
76
77typedef char char2 __attribute__((ext_vector_type(2)));
78typedef char char3 __attribute__((ext_vector_type(3)));
79typedef char char4 __attribute__((ext_vector_type(4)));
80typedef char char8 __attribute__((ext_vector_type(8)));
81typedef char char16 __attribute__((ext_vector_type(16)));
82typedef uchar uchar2 __attribute__((ext_vector_type(2)));
83typedef uchar uchar3 __attribute__((ext_vector_type(3)));
84typedef uchar uchar4 __attribute__((ext_vector_type(4)));
85typedef uchar uchar8 __attribute__((ext_vector_type(8)));
86typedef uchar uchar16 __attribute__((ext_vector_type(16)));
87typedef short short2 __attribute__((ext_vector_type(2)));
88typedef short short3 __attribute__((ext_vector_type(3)));
89typedef short short4 __attribute__((ext_vector_type(4)));
90typedef short short8 __attribute__((ext_vector_type(8)));
91typedef short short16 __attribute__((ext_vector_type(16)));
92typedef ushort ushort2 __attribute__((ext_vector_type(2)));
93typedef ushort ushort3 __attribute__((ext_vector_type(3)));
94typedef ushort ushort4 __attribute__((ext_vector_type(4)));
95typedef ushort ushort8 __attribute__((ext_vector_type(8)));
96typedef ushort ushort16 __attribute__((ext_vector_type(16)));
97typedef int int2 __attribute__((ext_vector_type(2)));
98typedef int int3 __attribute__((ext_vector_type(3)));
99typedef int int4 __attribute__((ext_vector_type(4)));
100typedef int int8 __attribute__((ext_vector_type(8)));
101typedef int int16 __attribute__((ext_vector_type(16)));
102typedef uint uint2 __attribute__((ext_vector_type(2)));
103typedef uint uint3 __attribute__((ext_vector_type(3)));
104typedef uint uint4 __attribute__((ext_vector_type(4)));
105typedef uint uint8 __attribute__((ext_vector_type(8)));
106typedef uint uint16 __attribute__((ext_vector_type(16)));
107typedef long long2 __attribute__((ext_vector_type(2)));
108typedef long long3 __attribute__((ext_vector_type(3)));
109typedef long long4 __attribute__((ext_vector_type(4)));
110typedef long long8 __attribute__((ext_vector_type(8)));
111typedef long long16 __attribute__((ext_vector_type(16)));
112typedef ulong ulong2 __attribute__((ext_vector_type(2)));
113typedef ulong ulong3 __attribute__((ext_vector_type(3)));
114typedef ulong ulong4 __attribute__((ext_vector_type(4)));
115typedef ulong ulong8 __attribute__((ext_vector_type(8)));
116typedef ulong ulong16 __attribute__((ext_vector_type(16)));
117typedef float float2 __attribute__((ext_vector_type(2)));
118typedef float float3 __attribute__((ext_vector_type(3)));
119typedef float float4 __attribute__((ext_vector_type(4)));
120typedef float float8 __attribute__((ext_vector_type(8)));
121typedef float float16 __attribute__((ext_vector_type(16)));
122typedef half half2 __attribute__((ext_vector_type(2)));
123typedef half half3 __attribute__((ext_vector_type(3)));
124typedef half half4 __attribute__((ext_vector_type(4)));
125typedef half half8 __attribute__((ext_vector_type(8)));
126typedef half half16 __attribute__((ext_vector_type(16)));
127typedef double double2 __attribute__((ext_vector_type(2)));
128typedef double double3 __attribute__((ext_vector_type(3)));
129typedef double double4 __attribute__((ext_vector_type(4)));
130typedef double double8 __attribute__((ext_vector_type(8)));
131typedef double double16 __attribute__((ext_vector_type(16)));
132
133/**
134 * Value of maximum non-infinite single-precision floating-point
135 * number.
136 */
137#define MAXFLOAT 0x1.fffffep127f
138
139/**
140 * A positive float constant expression. HUGE_VALF evaluates
141 * to +infinity. Used as an error value returned by the built-in
142 * math functions.
143 */
144#define HUGE_VALF (__builtin_huge_valf())
145
146/**
147 * A positive double constant expression. HUGE_VAL evaluates
148 * to +infinity. Used as an error value returned by the built-in
149 * math functions.
150 */
151#define HUGE_VAL (__builtin_huge_val())
152
153/**
154 * A constant expression of type float representing positive or
155 * unsigned infinity.
156 */
157#define INFINITY (__builtin_inff())
158
159/**
160 * A constant expression of type float representing a quiet NaN.
161 */
162#define NAN as_float(__builtin_nanf((char const *)""))
163
164#define FP_ILOGB0 INT_MIN
165#define FP_ILOGBNAN INT_MAX
166
167#define FLT_DIG 6
168#define FLT_MANT_DIG 24
169#define FLT_MAX_10_EXP +38
170#define FLT_MAX_EXP +128
171#define FLT_MIN_10_EXP -37
172#define FLT_MIN_EXP -125
173#define FLT_RADIX 2
174#define FLT_MAX 0x1.fffffep127f
175#define FLT_MIN 0x1.0p-126f
176#define FLT_EPSILON 0x1.0p-23f
177
178#define DBL_DIG 15
179#define DBL_MANT_DIG 53
180#define DBL_MAX_10_EXP +308
181#define DBL_MAX_EXP +1024
182#define DBL_MIN_10_EXP -307
183#define DBL_MIN_EXP -1021
184#define DBL_RADIX 2
185#define DBL_MAX 0x1.fffffffffffffp1023
186#define DBL_MIN 0x1.0p-1022
187#define DBL_EPSILON 0x1.0p-52
188
189
190#define M_E_F 2.71828182845904523536028747135266250f
191#define M_LOG2E_F 1.44269504088896340735992468100189214f
192#define M_LOG10E_F 0.434294481903251827651128918916605082f
193#define M_LN2_F 0.693147180559945309417232121458176568f
194#define M_LN10_F 2.30258509299404568401799145468436421f
195#define M_PI_F 3.14159265358979323846264338327950288f
196#define M_PI_2_F 1.57079632679489661923132169163975144f
197#define M_PI_4_F 0.785398163397448309615660845819875721f
198#define M_1_PI_F 0.318309886183790671537767526745028724f
199#define M_2_PI_F 0.636619772367581343075535053490057448f
200#define M_2_SQRTPI_F 1.12837916709551257389615890312154517f
201#define M_SQRT2_F 1.41421356237309504880168872420969808f
202#define M_SQRT1_2_F 0.707106781186547524400844362104849039f
203
204#define M_E 0x1.5bf0a8b145769p+1
205#define M_LOG2E 0x1.71547652b82fep+0
206#define M_LOG10E 0x1.bcb7b1526e50ep-2
207#define M_LN2 0x1.62e42fefa39efp-1
208#define M_LN10 0x1.26bb1bbb55516p+1
209#define M_PI 0x1.921fb54442d18p+1
210#define M_PI_2 0x1.921fb54442d18p+0
211#define M_PI_4 0x1.921fb54442d18p-1
212#define M_1_PI 0x1.45f306dc9c883p-2
213#define M_2_PI 0x1.45f306dc9c883p-1
214#define M_2_SQRTPI 0x1.20dd750429b6dp+0
215#define M_SQRT2 0x1.6a09e667f3bcdp+0
216#define M_SQRT1_2 0x1.6a09e667f3bcdp-1
217
218#define CHAR_BIT 8
219#define SCHAR_MAX 127
220#define SCHAR_MIN (-128)
221#define UCHAR_MAX 255
222#define CHAR_MAX SCHAR_MAX
223#define CHAR_MIN SCHAR_MIN
224#define USHRT_MAX 65535
225#define SHRT_MAX 32767
226#define SHRT_MIN (-32768)
227#define UINT_MAX 0xffffffff
228#define INT_MAX 2147483647
229#define INT_MIN (-2147483647-1)
230#define ULONG_MAX 0xffffffffffffffffUL
231#define LONG_MAX ((long)0x7fffffffffffffffL)
232#define LONG_MIN ((long)(-0x7fffffffffffffffL-1))
233
234#define DBL_DIG 15
235#define DBL_MANT_DIG 53
236#define DBL_MAX_10_EXP +308
237#define DBL_MAX_EXP +1024
238#define DBL_MIN_10_EXP -307
239#define DBL_MIN_EXP -1021
240#define DBL_MAX 0x1.fffffffffffffp1023
241#define DBL_MIN 0x1.0p-1022
242#define DBL_EPSILON 0x1.0p-52
243
244// work-item functions
245
246/**
247 * Returns the number of dimensions in use. This is the
248 * value given to the work_dim argument specified in
249 * clEnqueueNDRangeKernel.
250 * For clEnqueueTask, this returns 1.
251 */
252uint const_func __attribute__((overloadable)) get_work_dim(void);
253
254/**
255 * Returns the number of global work-items specified for
256 * dimension identified by dimindx. This value is given by
257 * the global_work_size argument to
258 * clEnqueueNDRangeKernel. Valid values of dimindx
259 * are 0 to get_work_dim() – 1. For other values of
260 * dimindx, get_global_size() returns 1.
261 * For clEnqueueTask, this always returns 1.
262 */
263size_t const_func __attribute__((overloadable)) get_global_size(uint dimindx);
264
265/**
266 * Returns the unique global work-item ID value for
267 * dimension identified by dimindx. The global work-item
268 * ID specifies the work-item ID based on the number of
269 * global work-items specified to execute the kernel. Valid
270 * values of dimindx are 0 to get_work_dim() – 1. For
271 * other values of dimindx, get_global_id() returns 0.
272 * For clEnqueueTask, this returns 0.
273 */
274size_t const_func __attribute__((overloadable)) get_global_id(uint dimindx);
275
276/**
277 * Returns the number of local work-items specified in
278 * dimension identified by dimindx. This value is given by
279 * the local_work_size argument to
280 * clEnqueueNDRangeKernel if local_work_size is not
281 * NULL; otherwise the OpenCL implementation chooses
282 * an appropriate local_work_size value which is returned
283 * by this function. Valid values of dimindx are 0 to
284 * get_work_dim() – 1. For other values of dimindx,
285 * get_local_size() returns 1.
286 * For clEnqueueTask, this always returns 1.
287 */
288size_t const_func __attribute__((overloadable)) get_local_size(uint dimindx);
289
290/**
291 * Returns the unique local work-item ID i.e. a work-item
292 * within a specific work-group for dimension identified by
293 * dimindx. Valid values of dimindx are 0 to
294 * get_work_dim() – 1. For other values of dimindx,
295 * get_local_id() returns 0.
296 * For clEnqueueTask, this returns 0.
297 */
298size_t const_func __attribute__((overloadable)) get_local_id(uint dimindx);
299
300/**
301 * Returns the number of work-groups that will execute a
302 * kernel for dimension identified by dimindx.
303 * Valid values of dimindx are 0 to get_work_dim() – 1.
304 * For other values of dimindx, get_num_groups () returns
305 * 1.
306 * For clEnqueueTask, this always returns 1.
307 */
308size_t const_func __attribute__((overloadable)) get_num_groups(uint dimindx);
309
310/**
311 * get_group_id returns the work-group ID which is a
312 * number from 0 .. get_num_groups(dimindx) – 1.
313 * Valid values of dimindx are 0 to get_work_dim() – 1.
314 * For other values, get_group_id() returns 0.
315 * For clEnqueueTask, this returns 0.
316 */
317size_t const_func __attribute__((overloadable)) get_group_id(uint dimindx);
318
319/**
320 * get_global_offset returns the offset values specified in
321 * global_work_offset argument to
322 * clEnqueueNDRangeKernel.
323 * Valid values of dimindx are 0 to get_work_dim() – 1.
324 * For other values, get_global_offset() returns 0.
325 * For clEnqueueTask, this returns 0.
326 */
327size_t const_func __attribute__((overloadable)) get_global_offset(uint dimindx);
328
329int printf(__constant const char* st, ...);
330// Math functions:
331
332/**
333 * Arc cosine function.
334 */
335float const_func __attribute__((overloadable)) acos(float);
336float2 const_func __attribute__((overloadable)) acos(float2);
337float3 const_func __attribute__((overloadable)) acos(float3);
338float4 const_func __attribute__((overloadable)) acos(float4);
339float8 const_func __attribute__((overloadable)) acos(float8);
340float16 const_func __attribute__((overloadable)) acos(float16);
341double const_func __attribute__((overloadable)) acos(double);
342double2 const_func __attribute__((overloadable)) acos(double2);
343double3 const_func __attribute__((overloadable)) acos(double3);
344double4 const_func __attribute__((overloadable)) acos(double4);
345double8 const_func __attribute__((overloadable)) acos(double8);
346double16 const_func __attribute__((overloadable)) acos(double16);
347//half const_func __attribute__((overloadable)) acos(half);
348//half2 const_func __attribute__((overloadable)) acos(half2);
349//half3 const_func __attribute__((overloadable)) acos(half3);
350//half4 const_func __attribute__((overloadable)) acos(half4);
351//half8 const_func __attribute__((overloadable)) acos(half8);
352//half16 const_func __attribute__((overloadable)) acos(half16);
353
354/**
355 * Inverse hyperbolic cosine.
356 */
357float const_func __attribute__((overloadable)) acosh(float);
358float2 const_func __attribute__((overloadable)) acosh(float2);
359float3 const_func __attribute__((overloadable)) acosh(float3);
360float4 const_func __attribute__((overloadable)) acosh(float4);
361float8 const_func __attribute__((overloadable)) acosh(float8);
362float16 const_func __attribute__((overloadable)) acosh(float16);
363double const_func __attribute__((overloadable)) acosh(double);
364double2 const_func __attribute__((overloadable)) acosh(double2);
365double3 const_func __attribute__((overloadable)) acosh(double3);
366double4 const_func __attribute__((overloadable)) acosh(double4);
367double8 const_func __attribute__((overloadable)) acosh(double8);
368double16 const_func __attribute__((overloadable)) acosh(double16);
369//half const_func __attribute__((overloadable)) acosh(half);
370//half2 const_func __attribute__((overloadable)) acosh(half2);
371//half3 const_func __attribute__((overloadable)) acosh(half3);
372//half4 const_func __attribute__((overloadable)) acosh(half4);
373//half8 const_func __attribute__((overloadable)) acosh(half8);
374//half16 const_func __attribute__((overloadable)) acosh(half16);
375
376/**
377 * Compute acos (x) / PI.
378 */
379float const_func __attribute__((overloadable)) acospi(float x);
380float2 const_func __attribute__((overloadable)) acospi(float2 x);
381float3 const_func __attribute__((overloadable)) acospi(float3 x);
382float4 const_func __attribute__((overloadable)) acospi(float4 x);
383float8 const_func __attribute__((overloadable)) acospi(float8 x);
384float16 const_func __attribute__((overloadable)) acospi(float16 x);
385double const_func __attribute__((overloadable)) acospi(double x);
386double2 const_func __attribute__((overloadable)) acospi(double2 x);
387double3 const_func __attribute__((overloadable)) acospi(double3 x);
388double4 const_func __attribute__((overloadable)) acospi(double4 x);
389double8 const_func __attribute__((overloadable)) acospi(double8 x);
390double16 const_func __attribute__((overloadable)) acospi(double16 x);
391//half const_func __attribute__((overloadable)) acospi(half x);
392//half2 const_func __attribute__((overloadable)) acospi(half2 x);
393//half3 const_func __attribute__((overloadable)) acospi(half3 x);
394//half4 const_func __attribute__((overloadable)) acospi(half4 x);
395//half8 const_func __attribute__((overloadable)) acospi(half8 x);
396//half16 const_func __attribute__((overloadable)) acospi(half16 x);
397
398/**
399 * Arc sine function.
400 */
401float const_func __attribute__((overloadable)) asin(float);
402float2 const_func __attribute__((overloadable)) asin(float2);
403float3 const_func __attribute__((overloadable)) asin(float3);
404float4 const_func __attribute__((overloadable)) asin(float4);
405float8 const_func __attribute__((overloadable)) asin(float8);
406float16 const_func __attribute__((overloadable)) asin(float16);
407double const_func __attribute__((overloadable)) asin(double);
408double2 const_func __attribute__((overloadable)) asin(double2);
409double3 const_func __attribute__((overloadable)) asin(double3);
410double4 const_func __attribute__((overloadable)) asin(double4);
411double8 const_func __attribute__((overloadable)) asin(double8);
412double16 const_func __attribute__((overloadable)) asin(double16);
413//half const_func __attribute__((overloadable)) asin(half);
414//half2 const_func __attribute__((overloadable)) asin(half2);
415//half3 const_func __attribute__((overloadable)) asin(half3);
416//half4 const_func __attribute__((overloadable)) asin(half4);
417//half8 const_func __attribute__((overloadable)) asin(half8);
418//half16 const_func __attribute__((overloadable)) asin(half16);
419
420/**
421 * Inverse hyperbolic sine.
422 */
423float const_func __attribute__((overloadable)) asinh(float);
424float2 const_func __attribute__((overloadable)) asinh(float2);
425float3 const_func __attribute__((overloadable)) asinh(float3);
426float4 const_func __attribute__((overloadable)) asinh(float4);
427float8 const_func __attribute__((overloadable)) asinh(float8);
428float16 const_func __attribute__((overloadable)) asinh(float16);
429double const_func __attribute__((overloadable)) asinh(double);
430double2 const_func __attribute__((overloadable)) asinh(double2);
431double3 const_func __attribute__((overloadable)) asinh(double3);
432double4 const_func __attribute__((overloadable)) asinh(double4);
433double8 const_func __attribute__((overloadable)) asinh(double8);
434double16 const_func __attribute__((overloadable)) asinh(double16);
435//half const_func __attribute__((overloadable)) asinh(half);
436//half2 const_func __attribute__((overloadable)) asinh(half2);
437//half3 const_func __attribute__((overloadable)) asinh(half3);
438//half4 const_func __attribute__((overloadable)) asinh(half4);
439//half8 const_func __attribute__((overloadable)) asinh(half8);
440//half16 const_func __attribute__((overloadable)) asinh(half16);
441
442/**
443 * Compute asin (x) / PI.
444 */
445float const_func __attribute__((overloadable)) asinpi(float x);
446float2 const_func __attribute__((overloadable)) asinpi(float2 x);
447float3 const_func __attribute__((overloadable)) asinpi(float3 x);
448float4 const_func __attribute__((overloadable)) asinpi(float4 x);
449float8 const_func __attribute__((overloadable)) asinpi(float8 x);
450float16 const_func __attribute__((overloadable)) asinpi(float16 x);
451double const_func __attribute__((overloadable)) asinpi(double x);
452double2 const_func __attribute__((overloadable)) asinpi(double2 x);
453double3 const_func __attribute__((overloadable)) asinpi(double3 x);
454double4 const_func __attribute__((overloadable)) asinpi(double4 x);
455double8 const_func __attribute__((overloadable)) asinpi(double8 x);
456double16 const_func __attribute__((overloadable)) asinpi(double16 x);
457//half const_func __attribute__((overloadable)) asinpi(half x);
458//half2 const_func __attribute__((overloadable)) asinpi(half2 x);
459//half3 const_func __attribute__((overloadable)) asinpi(half3 x);
460//half4 const_func __attribute__((overloadable)) asinpi(half4 x);
461//half8 const_func __attribute__((overloadable)) asinpi(half8 x);
462//half16 const_func __attribute__((overloadable)) asinpi(half16 x);
463
464/**
465 * Arc tangent function.
466 */
467float const_func __attribute__((overloadable)) atan(float y_over_x);
468float2 const_func __attribute__((overloadable)) atan(float2 y_over_x);
469float3 const_func __attribute__((overloadable)) atan(float3 y_over_x);
470float4 const_func __attribute__((overloadable)) atan(float4 y_over_x);
471float8 const_func __attribute__((overloadable)) atan(float8 y_over_x);
472float16 const_func __attribute__((overloadable)) atan(float16 y_over_x);
473double const_func __attribute__((overloadable)) atan(double y_over_x);
474double2 const_func __attribute__((overloadable)) atan(double2 y_over_x);
475double3 const_func __attribute__((overloadable)) atan(double3 y_over_x);
476double4 const_func __attribute__((overloadable)) atan(double4 y_over_x);
477double8 const_func __attribute__((overloadable)) atan(double8 y_over_x);
478double16 const_func __attribute__((overloadable)) atan(double16 y_over_x);
479//half const_func __attribute__((overloadable)) atan(half y_over_x);
480//half2 const_func __attribute__((overloadable)) atan(half2 y_over_x);
481//half3 const_func __attribute__((overloadable)) atan(half3 y_over_x);
482//half4 const_func __attribute__((overloadable)) atan(half4 y_over_x);
483//half8 const_func __attribute__((overloadable)) atan(half8 y_over_x);
484//half16 const_func __attribute__((overloadable)) atan(half16 y_over_x);
485
486/**
487 * Arc tangent of y / x.
488 */
489float const_func __attribute__((overloadable)) atan2(float y, float x);
490float2 const_func __attribute__((overloadable)) atan2(float2 y, float2 x);
491float3 const_func __attribute__((overloadable)) atan2(float3 y, float3 x);
492float4 const_func __attribute__((overloadable)) atan2(float4 y, float4 x);
493float8 const_func __attribute__((overloadable)) atan2(float8 y, float8 x);
494float16 const_func __attribute__((overloadable)) atan2(float16 y, float16 x);
495double const_func __attribute__((overloadable)) atan2(double y, double x);
496double2 const_func __attribute__((overloadable)) atan2(double2 y, double2 x);
497double3 const_func __attribute__((overloadable)) atan2(double3 y, double3 x);
498double4 const_func __attribute__((overloadable)) atan2(double4 y, double4 x);
499double8 const_func __attribute__((overloadable)) atan2(double8 y, double8 x);
500double16 const_func __attribute__((overloadable)) atan2(double16 y, double16 x);
501//half const_func __attribute__((overloadable)) atan2(half y, half x);
502//half2 const_func __attribute__((overloadable)) atan2(half2 y, half2 x);
503//half3 const_func __attribute__((overloadable)) atan2(half3 y, half3 x);
504//half4 const_func __attribute__((overloadable)) atan2(half4 y, half4 x);
505//half8 const_func __attribute__((overloadable)) atan2(half8 y, half8 x);
506//half16 const_func __attribute__((overloadable)) atan2(half16 y, half16 x);
507
508/**
509 * Hyperbolic arc tangent.
510 */
511float const_func __attribute__((overloadable)) atanh(float);
512float2 const_func __attribute__((overloadable)) atanh(float2);
513float3 const_func __attribute__((overloadable)) atanh(float3);
514float4 const_func __attribute__((overloadable)) atanh(float4);
515float8 const_func __attribute__((overloadable)) atanh(float8);
516float16 const_func __attribute__((overloadable)) atanh(float16);
517double const_func __attribute__((overloadable)) atanh(double);
518double2 const_func __attribute__((overloadable)) atanh(double2);
519double3 const_func __attribute__((overloadable)) atanh(double3);
520double4 const_func __attribute__((overloadable)) atanh(double4);
521double8 const_func __attribute__((overloadable)) atanh(double8);
522double16 const_func __attribute__((overloadable)) atanh(double16);
523//half const_func __attribute__((overloadable)) atanh(half);
524//half2 const_func __attribute__((overloadable)) atanh(half2);
525//half3 const_func __attribute__((overloadable)) atanh(half3);
526//half4 const_func __attribute__((overloadable)) atanh(half4);
527//half8 const_func __attribute__((overloadable)) atanh(half8);
528//half16 const_func __attribute__((overloadable)) atanh(half16);
529
530/**
531 * Compute atan (x) / PI.
532 */
533float const_func __attribute__((overloadable)) atanpi(float x);
534float2 const_func __attribute__((overloadable)) atanpi(float2 x);
535float3 const_func __attribute__((overloadable)) atanpi(float3 x);
536float4 const_func __attribute__((overloadable)) atanpi(float4 x);
537float8 const_func __attribute__((overloadable)) atanpi(float8 x);
538float16 const_func __attribute__((overloadable)) atanpi(float16 x);
539double const_func __attribute__((overloadable)) atanpi(double x);
540double2 const_func __attribute__((overloadable)) atanpi(double2 x);
541double3 const_func __attribute__((overloadable)) atanpi(double3 x);
542double4 const_func __attribute__((overloadable)) atanpi(double4 x);
543double8 const_func __attribute__((overloadable)) atanpi(double8 x);
544double16 const_func __attribute__((overloadable)) atanpi(double16 x);
545//half const_func __attribute__((overloadable)) atanpi(half x);
546//half2 const_func __attribute__((overloadable)) atanpi(half2 x);
547//half3 const_func __attribute__((overloadable)) atanpi(half3 x);
548//half4 const_func __attribute__((overloadable)) atanpi(half4 x);
549//half8 const_func __attribute__((overloadable)) atanpi(half8 x);
550//half16 const_func __attribute__((overloadable)) atanpi(half16 x);
551
552/**
553 * Compute atan2 (y, x) / PI.
554 */
555float const_func __attribute__((overloadable)) atan2pi(float y, float x);
556float2 const_func __attribute__((overloadable)) atan2pi(float2 y, float2 x);
557float3 const_func __attribute__((overloadable)) atan2pi(float3 y, float3 x);
558float4 const_func __attribute__((overloadable)) atan2pi(float4 y, float4 x);
559float8 const_func __attribute__((overloadable)) atan2pi(float8 y, float8 x);
560float16 const_func __attribute__((overloadable)) atan2pi(float16 y, float16 x);
561double const_func __attribute__((overloadable)) atan2pi(double y, double x);
562double2 const_func __attribute__((overloadable)) atan2pi(double2 y, double2 x);
563double3 const_func __attribute__((overloadable)) atan2pi(double3 y, double3 x);
564double4 const_func __attribute__((overloadable)) atan2pi(double4 y, double4 x);
565double8 const_func __attribute__((overloadable)) atan2pi(double8 y, double8 x);
566double16 const_func __attribute__((overloadable)) atan2pi(double16 y, double16 x);
567//half const_func __attribute__((overloadable)) atan2pi(half y, half x);
568//half2 const_func __attribute__((overloadable)) atan2pi(half2 y, half2 x);
569//half3 const_func __attribute__((overloadable)) atan2pi(half3 y, half3 x);
570//half4 const_func __attribute__((overloadable)) atan2pi(half4 y, half4 x);
571//half8 const_func __attribute__((overloadable)) atan2pi(half8 y, half8 x);
572//half16 const_func __attribute__((overloadable)) atan2pi(half16 y, half16 x);
573
574/**
575 * Compute cube-root.
576 */
577float const_func __attribute__((overloadable)) cbrt(float);
578float2 const_func __attribute__((overloadable)) cbrt(float2);
579float3 const_func __attribute__((overloadable)) cbrt(float3);
580float4 const_func __attribute__((overloadable)) cbrt(float4);
581float8 const_func __attribute__((overloadable)) cbrt(float8);
582float16 const_func __attribute__((overloadable)) cbrt(float16);
583double const_func __attribute__((overloadable)) cbrt(double);
584double2 const_func __attribute__((overloadable)) cbrt(double2);
585double3 const_func __attribute__((overloadable)) cbrt(double3);
586double4 const_func __attribute__((overloadable)) cbrt(double4);
587double8 const_func __attribute__((overloadable)) cbrt(double8);
588double16 const_func __attribute__((overloadable)) cbrt(double16);
589//half const_func __attribute__((overloadable)) cbrt(half);
590//half2 const_func __attribute__((overloadable)) cbrt(half2);
591//half3 const_func __attribute__((overloadable)) cbrt(half3);
592//half4 const_func __attribute__((overloadable)) cbrt(half4);
593//half8 const_func __attribute__((overloadable)) cbrt(half8);
594//half16 const_func __attribute__((overloadable)) cbrt(half16);
595
596/**
597 * Round to integral value using the round to +ve
598 * infinity rounding mode.
599 */
600float const_func __attribute__((overloadable)) ceil(float);
601float2 const_func __attribute__((overloadable)) ceil(float2);
602float3 const_func __attribute__((overloadable)) ceil(float3);
603float4 const_func __attribute__((overloadable)) ceil(float4);
604float8 const_func __attribute__((overloadable)) ceil(float8);
605float16 const_func __attribute__((overloadable)) ceil(float16);
606double const_func __attribute__((overloadable)) ceil(double);
607double2 const_func __attribute__((overloadable)) ceil(double2);
608double3 const_func __attribute__((overloadable)) ceil(double3);
609double4 const_func __attribute__((overloadable)) ceil(double4);
610double8 const_func __attribute__((overloadable)) ceil(double8);
611double16 const_func __attribute__((overloadable)) ceil(double16);
612//half const_func __attribute__((overloadable)) ceil(half);
613//half2 const_func __attribute__((overloadable)) ceil(half2);
614//half3 const_func __attribute__((overloadable)) ceil(half3);
615//half4 const_func __attribute__((overloadable)) ceil(half4);
616//half8 const_func __attribute__((overloadable)) ceil(half8);
617//half16 const_func __attribute__((overloadable)) ceil(half16);
618
619/**
620 * Returns x with its sign changed to match the sign of
621 * y.
622 */
623float const_func __attribute__((overloadable)) copysign(float x, float y);
624float2 const_func __attribute__((overloadable)) copysign(float2 x, float2 y);
625float3 const_func __attribute__((overloadable)) copysign(float3 x, float3 y);
626float4 const_func __attribute__((overloadable)) copysign(float4 x, float4 y);
627float8 const_func __attribute__((overloadable)) copysign(float8 x, float8 y);
628float16 const_func __attribute__((overloadable)) copysign(float16 x, float16 y);
629double const_func __attribute__((overloadable)) copysign(double x, double y);
630double2 const_func __attribute__((overloadable)) copysign(double2 x, double2 y);
631double3 const_func __attribute__((overloadable)) copysign(double3 x, double3 y);
632double4 const_func __attribute__((overloadable)) copysign(double4 x, double4 y);
633double8 const_func __attribute__((overloadable)) copysign(double8 x, double8 y);
634double16 const_func __attribute__((overloadable)) copysign(double16 x, double16 y);
635//half const_func __attribute__((overloadable)) copysign(half x, half y);
636//half2 const_func __attribute__((overloadable)) copysign(half2 x, half2 y);
637//half3 const_func __attribute__((overloadable)) copysign(half3 x, half3 y);
638//half4 const_func __attribute__((overloadable)) copysign(half4 x, half4 y);
639//half8 const_func __attribute__((overloadable)) copysign(half8 x, half8 y);
640//half16 const_func __attribute__((overloadable)) copysign(half16 x, half16 y);
641
642/**
643 * Compute cosine.
644 */
645double const_func __attribute__((overloadable)) cos(double);
646double2 const_func __attribute__((overloadable)) cos(double2);
647double3 const_func __attribute__((overloadable)) cos(double3);
648double4 const_func __attribute__((overloadable)) cos(double4);
649double8 const_func __attribute__((overloadable)) cos(double8);
650double16 const_func __attribute__((overloadable)) cos(double16);
651float const_func __attribute__((overloadable)) cos(float);
652float2 const_func __attribute__((overloadable)) cos(float2);
653float3 const_func __attribute__((overloadable)) cos(float3);
654float4 const_func __attribute__((overloadable)) cos(float4);
655float8 const_func __attribute__((overloadable)) cos(float8);
656float16 const_func __attribute__((overloadable)) cos(float16);
657//half const_func __attribute__((overloadable)) cos(half);
658//half2 const_func __attribute__((overloadable)) cos(half2);
659//half3 const_func __attribute__((overloadable)) cos(half3);
660//half4 const_func __attribute__((overloadable)) cos(half4);
661//half8 const_func __attribute__((overloadable)) cos(half8);
662//half16 const_func __attribute__((overloadable)) cos(half16);
663
664/**
665 * Compute hyperbolic consine.
666 */
667float const_func __attribute__((overloadable)) cosh(float);
668float2 const_func __attribute__((overloadable)) cosh(float2);
669float3 const_func __attribute__((overloadable)) cosh(float3);
670float4 const_func __attribute__((overloadable)) cosh(float4);
671float8 const_func __attribute__((overloadable)) cosh(float8);
672float16 const_func __attribute__((overloadable)) cosh(float16);
673double const_func __attribute__((overloadable)) cosh(double);
674double2 const_func __attribute__((overloadable)) cosh(double2);
675double3 const_func __attribute__((overloadable)) cosh(double3);
676double4 const_func __attribute__((overloadable)) cosh(double4);
677double8 const_func __attribute__((overloadable)) cosh(double8);
678double16 const_func __attribute__((overloadable)) cosh(double16);
679//half const_func __attribute__((overloadable)) cosh(half);
680//half2 const_func __attribute__((overloadable)) cosh(half2);
681//half3 const_func __attribute__((overloadable)) cosh(half3);
682//half4 const_func __attribute__((overloadable)) cosh(half4);
683//half8 const_func __attribute__((overloadable)) cosh(half8);
684//half16 const_func __attribute__((overloadable)) cosh(half16);
685
686/**
687 * Compute cos (PI * x).
688 */
689float const_func __attribute__((overloadable)) cospi(float x);
690float2 const_func __attribute__((overloadable)) cospi(float2 x);
691float3 const_func __attribute__((overloadable)) cospi(float3 x);
692float4 const_func __attribute__((overloadable)) cospi(float4 x);
693float8 const_func __attribute__((overloadable)) cospi(float8 x);
694float16 const_func __attribute__((overloadable)) cospi(float16 x);
695double const_func __attribute__((overloadable)) cospi(double x);
696double2 const_func __attribute__((overloadable)) cospi(double2 x);
697double3 const_func __attribute__((overloadable)) cospi(double3 x);
698double4 const_func __attribute__((overloadable)) cospi(double4 x);
699double8 const_func __attribute__((overloadable)) cospi(double8 x);
700double16 const_func __attribute__((overloadable)) cospi(double16 x);
701//half const_func __attribute__((overloadable)) cospi(half x);
702//half2 const_func __attribute__((overloadable)) cospi(half2 x);
703//half3 const_func __attribute__((overloadable)) cospi(half3 x);
704//half4 const_func __attribute__((overloadable)) cospi(half4 x);
705//half8 const_func __attribute__((overloadable)) cospi(half8 x);
706//half16 const_func __attribute__((overloadable)) cospi(half16 x);
707
708/**
709 * Complementary error function.
710 */
711float const_func __attribute__((overloadable)) erfc(float);
712float2 const_func __attribute__((overloadable)) erfc(float2);
713float3 const_func __attribute__((overloadable)) erfc(float3);
714float4 const_func __attribute__((overloadable)) erfc(float4);
715float8 const_func __attribute__((overloadable)) erfc(float8);
716float16 const_func __attribute__((overloadable)) erfc(float16);
717double const_func __attribute__((overloadable)) erfc(double);
718double2 const_func __attribute__((overloadable)) erfc(double2);
719double3 const_func __attribute__((overloadable)) erfc(double3);
720double4 const_func __attribute__((overloadable)) erfc(double4);
721double8 const_func __attribute__((overloadable)) erfc(double8);
722double16 const_func __attribute__((overloadable)) erfc(double16);
723//half const_func __attribute__((overloadable)) erfc(half);
724//half2 const_func __attribute__((overloadable)) erfc(half2);
725//half3 const_func __attribute__((overloadable)) erfc(half3);
726//half4 const_func __attribute__((overloadable)) erfc(half4);
727//half8 const_func __attribute__((overloadable)) erfc(half8);
728//half16 const_func __attribute__((overloadable)) erfc(half16);
729
730/**
731 * Error function encountered in integrating the
732 * normal distribution.
733 */
734float const_func __attribute__((overloadable)) erf(float);
735float2 const_func __attribute__((overloadable)) erf(float2);
736float3 const_func __attribute__((overloadable)) erf(float3);
737float4 const_func __attribute__((overloadable)) erf(float4);
738float8 const_func __attribute__((overloadable)) erf(float8);
739float16 const_func __attribute__((overloadable)) erf(float16);
740double const_func __attribute__((overloadable)) erf(double);
741double2 const_func __attribute__((overloadable)) erf(double2);
742double3 const_func __attribute__((overloadable)) erf(double3);
743double4 const_func __attribute__((overloadable)) erf(double4);
744double8 const_func __attribute__((overloadable)) erf(double8);
745double16 const_func __attribute__((overloadable)) erf(double16);
746//half const_func __attribute__((overloadable)) erf(half);
747//half2 const_func __attribute__((overloadable)) erf(half2);
748//half3 const_func __attribute__((overloadable)) erf(half3);
749//half4 const_func __attribute__((overloadable)) erf(half4);
750//half8 const_func __attribute__((overloadable)) erf(half8);
751//half16 const_func __attribute__((overloadable)) erf(half16);
752
753/**
754 * Compute the base- e exponential of x.
755 */
756float const_func __attribute__((overloadable)) exp(float x);
757float2 const_func __attribute__((overloadable)) exp(float2 x);
758float3 const_func __attribute__((overloadable)) exp(float3 x);
759float4 const_func __attribute__((overloadable)) exp(float4 x);
760float8 const_func __attribute__((overloadable)) exp(float8 x);
761float16 const_func __attribute__((overloadable)) exp(float16 x);
762double const_func __attribute__((overloadable)) exp(double x);
763double2 const_func __attribute__((overloadable)) exp(double2 x);
764double3 const_func __attribute__((overloadable)) exp(double3 x);
765double4 const_func __attribute__((overloadable)) exp(double4 x);
766double8 const_func __attribute__((overloadable)) exp(double8 x);
767double16 const_func __attribute__((overloadable)) exp(double16 x);
768//half const_func __attribute__((overloadable)) exp(half x);
769//half2 const_func __attribute__((overloadable)) exp(half2 x);
770//half3 const_func __attribute__((overloadable)) exp(half3 x);
771//half4 const_func __attribute__((overloadable)) exp(half4 x);
772//half8 const_func __attribute__((overloadable)) exp(half8 x);
773//half16 const_func __attribute__((overloadable)) exp(half16 x);
774
775/**
776 * Exponential base 2 function.
777 */
778float const_func __attribute__((overloadable)) exp2(float);
779float2 const_func __attribute__((overloadable)) exp2(float2);
780float3 const_func __attribute__((overloadable)) exp2(float3);
781float4 const_func __attribute__((overloadable)) exp2(float4);
782float8 const_func __attribute__((overloadable)) exp2(float8);
783float16 const_func __attribute__((overloadable)) exp2(float16);
784double const_func __attribute__((overloadable)) exp2(double);
785double2 const_func __attribute__((overloadable)) exp2(double2);
786double3 const_func __attribute__((overloadable)) exp2(double3);
787double4 const_func __attribute__((overloadable)) exp2(double4);
788double8 const_func __attribute__((overloadable)) exp2(double8);
789double16 const_func __attribute__((overloadable)) exp2(double16);
790//half const_func __attribute__((overloadable)) exp2(half);
791//half2 const_func __attribute__((overloadable)) exp2(half2);
792//half3 const_func __attribute__((overloadable)) exp2(half3);
793//half4 const_func __attribute__((overloadable)) exp2(half4);
794//half8 const_func __attribute__((overloadable)) exp2(half8);
795//half16 const_func __attribute__((overloadable)) exp2(half16);
796
797/**
798 * Exponential base 10 function.
799 */
800float const_func __attribute__((overloadable)) exp10(float);
801float2 const_func __attribute__((overloadable)) exp10(float2);
802float3 const_func __attribute__((overloadable)) exp10(float3);
803float4 const_func __attribute__((overloadable)) exp10(float4);
804float8 const_func __attribute__((overloadable)) exp10(float8);
805float16 const_func __attribute__((overloadable)) exp10(float16);
806double const_func __attribute__((overloadable)) exp10(double);
807double2 const_func __attribute__((overloadable)) exp10(double2);
808double3 const_func __attribute__((overloadable)) exp10(double3);
809double4 const_func __attribute__((overloadable)) exp10(double4);
810double8 const_func __attribute__((overloadable)) exp10(double8);
811double16 const_func __attribute__((overloadable)) exp10(double16);
812//half const_func __attribute__((overloadable)) exp10(half);
813//half2 const_func __attribute__((overloadable)) exp10(half2);
814//half3 const_func __attribute__((overloadable)) exp10(half3);
815//half4 const_func __attribute__((overloadable)) exp10(half4);
816//half8 const_func __attribute__((overloadable)) exp10(half8);
817//half16 const_func __attribute__((overloadable)) exp10(half16);
818
819/**
820 * Compute e^x- 1.0.
821 */
822float const_func __attribute__((overloadable)) expm1(float x);
823float2 const_func __attribute__((overloadable)) expm1(float2 x);
824float3 const_func __attribute__((overloadable)) expm1(float3 x);
825float4 const_func __attribute__((overloadable)) expm1(float4 x);
826float8 const_func __attribute__((overloadable)) expm1(float8 x);
827float16 const_func __attribute__((overloadable)) expm1(float16 x);
828double const_func __attribute__((overloadable)) expm1(double x);
829double2 const_func __attribute__((overloadable)) expm1(double2 x);
830double3 const_func __attribute__((overloadable)) expm1(double3 x);
831double4 const_func __attribute__((overloadable)) expm1(double4 x);
832double8 const_func __attribute__((overloadable)) expm1(double8 x);
833double16 const_func __attribute__((overloadable)) expm1(double16 x);
834//half const_func __attribute__((overloadable)) expm1(half x);
835//half2 const_func __attribute__((overloadable)) expm1(half2 x);
836//half3 const_func __attribute__((overloadable)) expm1(half3 x);
837//half4 const_func __attribute__((overloadable)) expm1(half4 x);
838//half8 const_func __attribute__((overloadable)) expm1(half8 x);
839//half16 const_func __attribute__((overloadable)) expm1(half16 x);
840
841/**
842 * Compute absolute value of a floating-point number.
843 */
844float const_func __attribute__((overloadable)) fabs(float);
845float2 const_func __attribute__((overloadable)) fabs(float2);
846float3 const_func __attribute__((overloadable)) fabs(float3);
847float4 const_func __attribute__((overloadable)) fabs(float4);
848float8 const_func __attribute__((overloadable)) fabs(float8);
849float16 const_func __attribute__((overloadable)) fabs(float16);
850double const_func __attribute__((overloadable)) fabs(double);
851double2 const_func __attribute__((overloadable)) fabs(double2);
852double3 const_func __attribute__((overloadable)) fabs(double3);
853double4 const_func __attribute__((overloadable)) fabs(double4);
854double8 const_func __attribute__((overloadable)) fabs(double8);
855double16 const_func __attribute__((overloadable)) fabs(double16);
856//half const_func __attribute__((overloadable)) fabs(half);
857//half2 const_func __attribute__((overloadable)) fabs(half2);
858//half3 const_func __attribute__((overloadable)) fabs(half3);
859//half4 const_func __attribute__((overloadable)) fabs(half4);
860//half8 const_func __attribute__((overloadable)) fabs(half8);
861//half16 const_func __attribute__((overloadable)) fabs(half16);
862
863/**
864 * x - y if x > y, +0 if x is less than or equal to y.
865 */
866float const_func __attribute__((overloadable)) fdim(float x, float y);
867float2 const_func __attribute__((overloadable)) fdim(float2 x, float2 y);
868float3 const_func __attribute__((overloadable)) fdim(float3 x, float3 y);
869float4 const_func __attribute__((overloadable)) fdim(float4 x, float4 y);
870float8 const_func __attribute__((overloadable)) fdim(float8 x, float8 y);
871float16 const_func __attribute__((overloadable)) fdim(float16 x, float16 y);
872double const_func __attribute__((overloadable)) fdim(double x, double y);
873double2 const_func __attribute__((overloadable)) fdim(double2 x, double2 y);
874double3 const_func __attribute__((overloadable)) fdim(double3 x, double3 y);
875double4 const_func __attribute__((overloadable)) fdim(double4 x, double4 y);
876double8 const_func __attribute__((overloadable)) fdim(double8 x, double8 y);
877double16 const_func __attribute__((overloadable)) fdim(double16 x, double16 y);
878//half const_func __attribute__((overloadable)) fdim(half x, half y);
879//half2 const_func __attribute__((overloadable)) fdim(half2 x, half2 y);
880//half3 const_func __attribute__((overloadable)) fdim(half3 x, half3 y);
881//half4 const_func __attribute__((overloadable)) fdim(half4 x, half4 y);
882//half8 const_func __attribute__((overloadable)) fdim(half8 x, half8 y);
883//half16 const_func __attribute__((overloadable)) fdim(half16 x, half16 y);
884
885/**
886 * Round to integral value using the round to –ve
887 * infinity rounding mode.
888 */
889float const_func __attribute__((overloadable)) floor(float);
890float2 const_func __attribute__((overloadable)) floor(float2);
891float3 const_func __attribute__((overloadable)) floor(float3);
892float4 const_func __attribute__((overloadable)) floor(float4);
893float8 const_func __attribute__((overloadable)) floor(float8);
894float16 const_func __attribute__((overloadable)) floor(float16);
895double const_func __attribute__((overloadable)) floor(double);
896double2 const_func __attribute__((overloadable)) floor(double2);
897double3 const_func __attribute__((overloadable)) floor(double3);
898double4 const_func __attribute__((overloadable)) floor(double4);
899double8 const_func __attribute__((overloadable)) floor(double8);
900double16 const_func __attribute__((overloadable)) floor(double16);
901//half const_func __attribute__((overloadable)) floor(half);
902//half2 const_func __attribute__((overloadable)) floor(half2);
903//half3 const_func __attribute__((overloadable)) floor(half3);
904//half4 const_func __attribute__((overloadable)) floor(half4);
905//half8 const_func __attribute__((overloadable)) floor(half8);
906//half16 const_func __attribute__((overloadable)) floor(half16);
907
908/**
909 * Returns the correctly rounded floating-point
910 * representation of the sum of c with the infinitely
911 * precise product of a and b. Rounding of
912 * intermediate products shall not occur. Edge case
913 * behavior is per the IEEE 754-2008 standard.
914 */
915float const_func __attribute__((overloadable)) fma(float a, float b, float c);
916float2 const_func __attribute__((overloadable)) fma(float2 a, float2 b, float2 c);
917float3 const_func __attribute__((overloadable)) fma(float3 a, float3 b, float3 c);
918float4 const_func __attribute__((overloadable)) fma(float4 a, float4 b, float4 c);
919float8 const_func __attribute__((overloadable)) fma(float8 a, float8 b, float8 c);
920float16 const_func __attribute__((overloadable)) fma(float16 a, float16 b, float16 c);
921double const_func __attribute__((overloadable)) fma(double a, double b, double c);
922double2 const_func __attribute__((overloadable)) fma(double2 a, double2 b, double2 c);
923double3 const_func __attribute__((overloadable)) fma(double3 a, double3 b, double3 c);
924double4 const_func __attribute__((overloadable)) fma(double4 a, double4 b, double4 c);
925double8 const_func __attribute__((overloadable)) fma(double8 a, double8 b, double8 c);
926double16 const_func __attribute__((overloadable)) fma(double16 a, double16 b, double16 c);
927//half const_func __attribute__((overloadable)) fma(half a, half b, half c);
928//half2 const_func __attribute__((overloadable)) fma(half2 a, half2 b, half2 c);
929//half3 const_func __attribute__((overloadable)) fma(half3 a, half3 b, half3 c);
930//half4 const_func __attribute__((overloadable)) fma(half4 a, half4 b, half4 c);
931//half8 const_func __attribute__((overloadable)) fma(half8 a, half8 b, half8 c);
932//half16 const_func __attribute__((overloadable)) fma(half16 a, half16 b, half16 c);
933
934/**
935 * Returns y if x < y, otherwise it returns x. If one
936 * argument is a NaN, fmax() returns the other
937 * argument. If both arguments are NaNs, fmax()
938 * returns a NaN.
939 */
940float const_func __attribute__((overloadable)) fmax(float x, float y);
941float2 const_func __attribute__((overloadable)) fmax(float2 x, float2 y);
942float3 const_func __attribute__((overloadable)) fmax(float3 x, float3 y);
943float4 const_func __attribute__((overloadable)) fmax(float4 x, float4 y);
944float8 const_func __attribute__((overloadable)) fmax(float8 x, float8 y);
945float16 const_func __attribute__((overloadable)) fmax(float16 x, float16 y);
946float2 const_func __attribute__((overloadable)) fmax(float2 x, float y);
947float3 const_func __attribute__((overloadable)) fmax(float3 x, float y);
948float4 const_func __attribute__((overloadable)) fmax(float4 x, float y);
949float8 const_func __attribute__((overloadable)) fmax(float8 x, float y);
950float16 const_func __attribute__((overloadable)) fmax(float16 x, float y);
951double const_func __attribute__((overloadable)) fmax(double x, double y);
952double2 const_func __attribute__((overloadable)) fmax(double2 x, double2 y);
953double3 const_func __attribute__((overloadable)) fmax(double3 x, double3 y);
954double4 const_func __attribute__((overloadable)) fmax(double4 x, double4 y);
955double8 const_func __attribute__((overloadable)) fmax(double8 x, double8 y);
956double16 const_func __attribute__((overloadable)) fmax(double16 x, double16 y);
957double2 const_func __attribute__((overloadable)) fmax(double2 x, double y);
958double3 const_func __attribute__((overloadable)) fmax(double3 x, double y);
959double4 const_func __attribute__((overloadable)) fmax(double4 x, double y);
960double8 const_func __attribute__((overloadable)) fmax(double8 x, double y);
961double16 const_func __attribute__((overloadable)) fmax(double16 x, double y);
962//half const_func __attribute__((overloadable)) fmax(half x, half y);
963//half2 const_func __attribute__((overloadable)) fmax(half2 x, half2 y);
964//half3 const_func __attribute__((overloadable)) fmax(half3 x, half3 y);
965//half4 const_func __attribute__((overloadable)) fmax(half4 x, half4 y);
966//half8 const_func __attribute__((overloadable)) fmax(half8 x, half8 y);
967//half16 const_func __attribute__((overloadable)) fmax(half16 x, half16 y);
968//half2 const_func __attribute__((overloadable)) fmax(half2 x, half y);
969//half3 const_func __attribute__((overloadable)) fmax(half3 x, half y);
970//half4 const_func __attribute__((overloadable)) fmax(half4 x, half y);
971//half8 const_func __attribute__((overloadable)) fmax(half8 x, half y);
972//half16 const_func __attribute__((overloadable)) fmax(half16 x, half y);
973
974/**
975 * Returns y if y < x, otherwise it returns x. If one
976 * argument is a NaN, fmin() returns the other
977 * argument. If both arguments are NaNs, fmin()
978 * returns a NaN.
979 */
980float const_func __attribute__((overloadable)) fmin(float x, float y);
981float2 const_func __attribute__((overloadable)) fmin(float2 x, float2 y);
982float3 const_func __attribute__((overloadable)) fmin(float3 x, float3 y);
983float4 const_func __attribute__((overloadable)) fmin(float4 x, float4 y);
984float8 const_func __attribute__((overloadable)) fmin(float8 x, float8 y);
985float16 const_func __attribute__((overloadable)) fmin(float16 x, float16 y);
986float2 const_func __attribute__((overloadable)) fmin(float2 x, float y);
987float3 const_func __attribute__((overloadable)) fmin(float3 x, float y);
988float4 const_func __attribute__((overloadable)) fmin(float4 x, float y);
989float8 const_func __attribute__((overloadable)) fmin(float8 x, float y);
990float16 const_func __attribute__((overloadable)) fmin(float16 x, float y);
991double const_func __attribute__((overloadable)) fmin(double x, double y);
992double2 const_func __attribute__((overloadable)) fmin(double2 x, double2 y);
993double3 const_func __attribute__((overloadable)) fmin(double3 x, double3 y);
994double4 const_func __attribute__((overloadable)) fmin(double4 x, double4 y);
995double8 const_func __attribute__((overloadable)) fmin(double8 x, double8 y);
996double16 const_func __attribute__((overloadable)) fmin(double16 x, double16 y);
997double2 const_func __attribute__((overloadable)) fmin(double2 x, double y);
998double3 const_func __attribute__((overloadable)) fmin(double3 x, double y);
999double4 const_func __attribute__((overloadable)) fmin(double4 x, double y);
1000double8 const_func __attribute__((overloadable)) fmin(double8 x, double y);
1001double16 const_func __attribute__((overloadable)) fmin(double16 x, double y);
1002//half const_func __attribute__((overloadable)) fmin(half x, half y);
1003//half2 const_func __attribute__((overloadable)) fmin(half2 x, half2 y);
1004//half3 const_func __attribute__((overloadable)) fmin(half3 x, half3 y);
1005//half4 const_func __attribute__((overloadable)) fmin(half4 x, half4 y);
1006//half8 const_func __attribute__((overloadable)) fmin(half8 x, half8 y);
1007//half16 const_func __attribute__((overloadable)) fmin(half16 x, half16 y);
1008//half2 const_func __attribute__((overloadable)) fmin(half2 x, half y);
1009//half3 const_func __attribute__((overloadable)) fmin(half3 x, half y);
1010//half4 const_func __attribute__((overloadable)) fmin(half4 x, half y);
1011//half8 const_func __attribute__((overloadable)) fmin(half8 x, half y);
1012//half16 const_func __attribute__((overloadable)) fmin(half16 x, half y);
1013
1014/**
1015 * Modulus. Returns x – y * trunc (x/y).
1016 */
1017float const_func __attribute__((overloadable)) fmod(float x, float y);
1018float2 const_func __attribute__((overloadable)) fmod(float2 x, float2 y);
1019float3 const_func __attribute__((overloadable)) fmod(float3 x, float3 y);
1020float4 const_func __attribute__((overloadable)) fmod(float4 x, float4 y);
1021float8 const_func __attribute__((overloadable)) fmod(float8 x, float8 y);
1022float16 const_func __attribute__((overloadable)) fmod(float16 x, float16 y);
1023double const_func __attribute__((overloadable)) fmod(double x, double y);
1024double2 const_func __attribute__((overloadable)) fmod(double2 x, double2 y);
1025double3 const_func __attribute__((overloadable)) fmod(double3 x, double3 y);
1026double4 const_func __attribute__((overloadable)) fmod(double4 x, double4 y);
1027double8 const_func __attribute__((overloadable)) fmod(double8 x, double8 y);
1028double16 const_func __attribute__((overloadable)) fmod(double16 x, double16 y);
1029//half const_func __attribute__((overloadable)) fmod(half x, half y);
1030//half2 const_func __attribute__((overloadable)) fmod(half2 x, half2 y);
1031//half3 const_func __attribute__((overloadable)) fmod(half3 x, half3 y);
1032//half4 const_func __attribute__((overloadable)) fmod(half4 x, half4 y);
1033//half8 const_func __attribute__((overloadable)) fmod(half8 x, half8 y);
1034//half16 const_func __attribute__((overloadable)) fmod(half16 x, half16 y);
1035
1036/**
1037 * Returns fmin( x – floor (x), 0x1.fffffep-1f ).
1038 * floor(x) is returned in iptr.
1039 */
1040float __attribute__((overloadable)) fract(float x, __global float *iptr);
1041float2 __attribute__((overloadable)) fract(float2 x, __global float2 *iptr);
1042float3 __attribute__((overloadable)) fract(float3 x, __global float3 *iptr);
1043float4 __attribute__((overloadable)) fract(float4 x, __global float4 *iptr);
1044float8 __attribute__((overloadable)) fract(float8 x, __global float8 *iptr);
1045float16 __attribute__((overloadable)) fract(float16 x, __global float16 *iptr);
1046float __attribute__((overloadable)) fract(float x, __local float *iptr);
1047float2 __attribute__((overloadable)) fract(float2 x, __local float2 *iptr);
1048float3 __attribute__((overloadable)) fract(float3 x, __local float3 *iptr);
1049float4 __attribute__((overloadable)) fract(float4 x, __local float4 *iptr);
1050float8 __attribute__((overloadable)) fract(float8 x, __local float8 *iptr);
1051float16 __attribute__((overloadable)) fract(float16 x, __local float16 *iptr);
1052float __attribute__((overloadable)) fract(float x, __private float *iptr);
1053float2 __attribute__((overloadable)) fract(float2 x, __private float2 *iptr);
1054float3 __attribute__((overloadable)) fract(float3 x, __private float3 *iptr);
1055float4 __attribute__((overloadable)) fract(float4 x, __private float4 *iptr);
1056float8 __attribute__((overloadable)) fract(float8 x, __private float8 *iptr);
1057float16 __attribute__((overloadable)) fract(float16 x, __private float16 *iptr);
1058double __attribute__((overloadable)) fract(double x, __global double *iptr);
1059double2 __attribute__((overloadable)) fract(double2 x, __global double2 *iptr);
1060double3 __attribute__((overloadable)) fract(double3 x, __global double3 *iptr);
1061double4 __attribute__((overloadable)) fract(double4 x, __global double4 *iptr);
1062double8 __attribute__((overloadable)) fract(double8 x, __global double8 *iptr);
1063double16 __attribute__((overloadable)) fract(double16 x, __global double16 *iptr);
1064double __attribute__((overloadable)) fract(double x, __local double *iptr);
1065double2 __attribute__((overloadable)) fract(double2 x, __local double2 *iptr);
1066double3 __attribute__((overloadable)) fract(double3 x, __local double3 *iptr);
1067double4 __attribute__((overloadable)) fract(double4 x, __local double4 *iptr);
1068double8 __attribute__((overloadable)) fract(double8 x, __local double8 *iptr);
1069double16 __attribute__((overloadable)) fract(double16 x, __local double16 *iptr);
1070double __attribute__((overloadable)) fract(double x, __private double *iptr);
1071double2 __attribute__((overloadable)) fract(double2 x, __private double2 *iptr);
1072double3 __attribute__((overloadable)) fract(double3 x, __private double3 *iptr);
1073double4 __attribute__((overloadable)) fract(double4 x, __private double4 *iptr);
1074double8 __attribute__((overloadable)) fract(double8 x, __private double8 *iptr);
1075double16 __attribute__((overloadable)) fract(double16 x, __private double16 *iptr);
1076//half __attribute__((overloadable)) fract(half x, __global half *iptr);
1077//half2 __attribute__((overloadable)) fract(half2 x, __global half2 *iptr);
1078//half3 __attribute__((overloadable)) fract(half3 x, __global half3 *iptr);
1079//half4 __attribute__((overloadable)) fract(half4 x, __global half4 *iptr);
1080//half8 __attribute__((overloadable)) fract(half8 x, __global half8 *iptr);
1081//half16 __attribute__((overloadable)) fract(half16 x, __global half16 *iptr);
1082//half __attribute__((overloadable)) fract(half x, __local half *iptr);
1083//half2 __attribute__((overloadable)) fract(half2 x, __local half2 *iptr);
1084//half3 __attribute__((overloadable)) fract(half3 x, __local half3 *iptr);
1085//half4 __attribute__((overloadable)) fract(half4 x, __local half4 *iptr);
1086//half8 __attribute__((overloadable)) fract(half8 x, __local half8 *iptr);
1087//half16 __attribute__((overloadable)) fract(half16 x, __local half16 *iptr);
1088//half __attribute__((overloadable)) fract(half x, __private half *iptr);
1089//half2 __attribute__((overloadable)) fract(half2 x, __private half2 *iptr);
1090//half3 __attribute__((overloadable)) fract(half3 x, __private half3 *iptr);
1091//half4 __attribute__((overloadable)) fract(half4 x, __private half4 *iptr);
1092//half8 __attribute__((overloadable)) fract(half8 x, __private half8 *iptr);
1093//half16 __attribute__((overloadable)) fract(half16 x, __private half16 *iptr);
1094
1095
1096/**
1097 * Extract mantissa and exponent from x. For each
1098 * component the mantissa returned is a float with
1099 * magnitude in the interval [1/2, 1) or 0. Each
1100 * component of x equals mantissa returned * 2^exp.
1101 */
1102float __attribute__((overloadable)) frexp(float x, __global int *exp);
1103float2 __attribute__((overloadable)) frexp(float2 x, __global int2 *exp);
1104float3 __attribute__((overloadable)) frexp(float3 x, __global int3 *exp);
1105float4 __attribute__((overloadable)) frexp(float4 x, __global int4 *exp);
1106float8 __attribute__((overloadable)) frexp(float8 x, __global int8 *exp);
1107float16 __attribute__((overloadable)) frexp(float16 x, __global int16 *exp);
1108float __attribute__((overloadable)) frexp(float x, __local int *exp);
1109float2 __attribute__((overloadable)) frexp(float2 x, __local int2 *exp);
1110float3 __attribute__((overloadable)) frexp(float3 x, __local int3 *exp);
1111float4 __attribute__((overloadable)) frexp(float4 x, __local int4 *exp);
1112float8 __attribute__((overloadable)) frexp(float8 x, __local int8 *exp);
1113float16 __attribute__((overloadable)) frexp(float16 x, __local int16 *exp);
1114float __attribute__((overloadable)) frexp(float x, __private int *exp);
1115float2 __attribute__((overloadable)) frexp(float2 x, __private int2 *exp);
1116float3 __attribute__((overloadable)) frexp(float3 x, __private int3 *exp);
1117float4 __attribute__((overloadable)) frexp(float4 x, __private int4 *exp);
1118float8 __attribute__((overloadable)) frexp(float8 x, __private int8 *exp);
1119float16 __attribute__((overloadable)) frexp(float16 x, __private int16 *exp);
1120double __attribute__((overloadable)) frexp(double x, __global int *exp);
1121double2 __attribute__((overloadable)) frexp(double2 x, __global int2 *exp);
1122double3 __attribute__((overloadable)) frexp(double3 x, __global int3 *exp);
1123double4 __attribute__((overloadable)) frexp(double4 x, __global int4 *exp);
1124double8 __attribute__((overloadable)) frexp(double8 x, __global int8 *exp);
1125double16 __attribute__((overloadable)) frexp(double16 x, __global int16 *exp);
1126double __attribute__((overloadable)) frexp(double x, __local int *exp);
1127double2 __attribute__((overloadable)) frexp(double2 x, __local int2 *exp);
1128double3 __attribute__((overloadable)) frexp(double3 x, __local int3 *exp);
1129double4 __attribute__((overloadable)) frexp(double4 x, __local int4 *exp);
1130double8 __attribute__((overloadable)) frexp(double8 x, __local int8 *exp);
1131double16 __attribute__((overloadable)) frexp(double16 x, __local int16 *exp);
1132double __attribute__((overloadable)) frexp(double x, __private int *exp);
1133double2 __attribute__((overloadable)) frexp(double2 x, __private int2 *exp);
1134double3 __attribute__((overloadable)) frexp(double3 x, __private int3 *exp);
1135double4 __attribute__((overloadable)) frexp(double4 x, __private int4 *exp);
1136double8 __attribute__((overloadable)) frexp(double8 x, __private int8 *exp);
1137double16 __attribute__((overloadable)) frexp(double16 x, __private int16 *exp);
1138//half __attribute__((overloadable)) frexp(half x, __global int *exp);
1139//half2 __attribute__((overloadable)) frexp(half2 x, __global int2 *exp);
1140//half3 __attribute__((overloadable)) frexp(half3 x, __global int3 *exp);
1141//half4 __attribute__((overloadable)) frexp(half4 x, __global int4 *exp);
1142//half8 __attribute__((overloadable)) frexp(half8 x, __global int8 *exp);
1143//half16 __attribute__((overloadable)) frexp(half16 x, __global int16 *exp);
1144//half __attribute__((overloadable)) frexp(half x, __local int *exp);
1145//half2 __attribute__((overloadable)) frexp(half2 x, __local int2 *exp);
1146//half3 __attribute__((overloadable)) frexp(half3 x, __local int3 *exp);
1147//half4 __attribute__((overloadable)) frexp(half4 x, __local int4 *exp);
1148//half8 __attribute__((overloadable)) frexp(half8 x, __local int8 *exp);
1149//half16 __attribute__((overloadable)) frexp(half16 x, __local int16 *exp);
1150//half __attribute__((overloadable)) frexp(half x, __private int *exp);
1151//half2 __attribute__((overloadable)) frexp(half2 x, __private int2 *exp);
1152//half3 __attribute__((overloadable)) frexp(half3 x, __private int3 *exp);
1153//half4 __attribute__((overloadable)) frexp(half4 x, __private int4 *exp);
1154//half8 __attribute__((overloadable)) frexp(half8 x, __private int8 *exp);
1155//half16 __attribute__((overloadable)) frexp(half16 x, __private int16 *exp);
1156
1157/**
1158 * Compute the value of the square root of x^2+ y^2
1159 * without undue overflow or underflow.
1160 */
1161float const_func __attribute__((overloadable)) hypot(float x, float y);
1162float2 const_func __attribute__((overloadable)) hypot(float2 x, float2 y);
1163float3 const_func __attribute__((overloadable)) hypot(float3 x, float3 y);
1164float4 const_func __attribute__((overloadable)) hypot(float4 x, float4 y);
1165float8 const_func __attribute__((overloadable)) hypot(float8 x, float8 y);
1166float16 const_func __attribute__((overloadable)) hypot(float16 x, float16 y);
1167double const_func __attribute__((overloadable)) hypot(double x, double y);
1168double2 const_func __attribute__((overloadable)) hypot(double2 x, double2 y);
1169double3 const_func __attribute__((overloadable)) hypot(double3 x, double3 y);
1170double4 const_func __attribute__((overloadable)) hypot(double4 x, double4 y);
1171double8 const_func __attribute__((overloadable)) hypot(double8 x, double8 y);
1172double16 const_func __attribute__((overloadable)) hypot(double16 x, double16 y);
1173//half const_func __attribute__((overloadable)) hypot(half x, half y);
1174//half2 const_func __attribute__((overloadable)) hypot(half2 x, half2 y);
1175//half3 const_func __attribute__((overloadable)) hypot(half3 x, half3 y);
1176//half4 const_func __attribute__((overloadable)) hypot(half4 x, half4 y);
1177//half8 const_func __attribute__((overloadable)) hypot(half8 x, half8 y);
1178//half16 const_func __attribute__((overloadable)) hypot(half16 x, half16 y);
1179
1180/**
1181 * Return the exponent as an integer value.
1182 */
1183int const_func __attribute__((overloadable)) ilogb(float x);
1184int2 const_func __attribute__((overloadable)) ilogb(float2 x);
1185int3 const_func __attribute__((overloadable)) ilogb(float3 x);
1186int4 const_func __attribute__((overloadable)) ilogb(float4 x);
1187int8 const_func __attribute__((overloadable)) ilogb(float8 x);
1188int16 const_func __attribute__((overloadable)) ilogb(float16 x);
1189int const_func __attribute__((overloadable)) ilogb(double x);
1190int2 const_func __attribute__((overloadable)) ilogb(double2 x);
1191int3 const_func __attribute__((overloadable)) ilogb(double3 x);
1192int4 const_func __attribute__((overloadable)) ilogb(double4 x);
1193int8 const_func __attribute__((overloadable)) ilogb(double8 x);
1194int16 const_func __attribute__((overloadable)) ilogb(double16 x);
1195//int const_func __attribute__((overloadable)) ilogb(half x);
1196//int2 const_func __attribute__((overloadable)) ilogb(half2 x);
1197//int3 const_func __attribute__((overloadable)) ilogb(half3 x);
1198//int4 const_func __attribute__((overloadable)) ilogb(half4 x);
1199//int8 const_func __attribute__((overloadable)) ilogb(half8 x);
1200//int16 const_func __attribute__((overloadable)) ilogb(half16 x);
1201
1202/**
1203 * Multiply x by 2 to the power n.
1204 */
1205float const_func __attribute__((overloadable)) ldexp(float x, int n);
1206float2 const_func __attribute__((overloadable)) ldexp(float2 x, int2 n);
1207float3 const_func __attribute__((overloadable)) ldexp(float3 x, int3 n);
1208float4 const_func __attribute__((overloadable)) ldexp(float4 x, int4 n);
1209float8 const_func __attribute__((overloadable)) ldexp(float8 x, int8 n);
1210float16 const_func __attribute__((overloadable)) ldexp(float16 x, int16 n);
1211float2 const_func __attribute__((overloadable)) ldexp(float2 x, int n);
1212float3 const_func __attribute__((overloadable)) ldexp(float3 x, int n);
1213float4 const_func __attribute__((overloadable)) ldexp(float4 x, int n);
1214float8 const_func __attribute__((overloadable)) ldexp(float8 x, int n);
1215float16 const_func __attribute__((overloadable)) ldexp(float16 x, int n);
1216double const_func __attribute__((overloadable)) ldexp(double x, int n);
1217double2 const_func __attribute__((overloadable)) ldexp(double2 x, int2 n);
1218double3 const_func __attribute__((overloadable)) ldexp(double3 x, int3 n);
1219double4 const_func __attribute__((overloadable)) ldexp(double4 x, int4 n);
1220double8 const_func __attribute__((overloadable)) ldexp(double8 x, int8 n);
1221double16 const_func __attribute__((overloadable)) ldexp(double16 x, int16 n);
1222double2 const_func __attribute__((overloadable)) ldexp(double2 x, int n);
1223double3 const_func __attribute__((overloadable)) ldexp(double3 x, int n);
1224double4 const_func __attribute__((overloadable)) ldexp(double4 x, int n);
1225double8 const_func __attribute__((overloadable)) ldexp(double8 x, int n);
1226double16 const_func __attribute__((overloadable)) ldexp(double16 x, int n);
1227//half const_func __attribute__((overloadable)) ldexp(half x, int n);
1228//half2 const_func __attribute__((overloadable)) ldexp(half2 x, int2 n);
1229//half3 const_func __attribute__((overloadable)) ldexp(half3 x, int3 n);
1230//half4 const_func __attribute__((overloadable)) ldexp(half4 x, int4 n);
1231//half8 const_func __attribute__((overloadable)) ldexp(half8 x, int8 n);
1232//half16 const_func __attribute__((overloadable)) ldexp(half16 x, int16 n);
1233//half const_func __attribute__((overloadable)) ldexp(half x, int n);
1234//half2 const_func __attribute__((overloadable)) ldexp(half2 x, int n);
1235//half3 const_func __attribute__((overloadable)) ldexp(half3 x, int n);
1236//half4 const_func __attribute__((overloadable)) ldexp(half4 x, int n);
1237//half8 const_func __attribute__((overloadable)) ldexp(half8 x, int n);
1238//half16 const_func __attribute__((overloadable)) ldexp(half16 x, int n);
1239
1240/**
1241 * Log gamma function. Returns the natural
1242 * logarithm of the absolute value of the gamma
1243 * function. The sign of the gamma function is
1244 * returned in the signp argument of lgamma_r.
1245 */
1246float const_func __attribute__((overloadable)) lgamma(float x);
1247float2 const_func __attribute__((overloadable)) lgamma(float2 x);
1248float3 const_func __attribute__((overloadable)) lgamma(float3 x);
1249float4 const_func __attribute__((overloadable)) lgamma(float4 x);
1250float8 const_func __attribute__((overloadable)) lgamma(float8 x);
1251float16 const_func __attribute__((overloadable)) lgamma(float16 x);
1252double const_func __attribute__((overloadable)) lgamma(double x);
1253double2 const_func __attribute__((overloadable)) lgamma(double2 x);
1254double3 const_func __attribute__((overloadable)) lgamma(double3 x);
1255double4 const_func __attribute__((overloadable)) lgamma(double4 x);
1256double8 const_func __attribute__((overloadable)) lgamma(double8 x);
1257double16 const_func __attribute__((overloadable)) lgamma(double16 x);
1258//half const_func __attribute__((overloadable)) lgamma(half x);
1259//half2 const_func __attribute__((overloadable)) lgamma(half2 x);
1260//half3 const_func __attribute__((overloadable)) lgamma(half3 x);
1261//half4 const_func __attribute__((overloadable)) lgamma(half4 x);
1262//half8 const_func __attribute__((overloadable)) lgamma(half8 x);
1263//half16 const_func __attribute__((overloadable)) lgamma(half16 x);
1264
1265float __attribute__((overloadable)) lgamma_r(float x, __global int *signp);
1266float2 __attribute__((overloadable)) lgamma_r(float2 x, __global int2 *signp);
1267float3 __attribute__((overloadable)) lgamma_r(float3 x, __global int3 *signp);
1268float4 __attribute__((overloadable)) lgamma_r(float4 x, __global int4 *signp);
1269float8 __attribute__((overloadable)) lgamma_r(float8 x, __global int8 *signp);
1270float16 __attribute__((overloadable)) lgamma_r(float16 x, __global int16 *signp);
1271float __attribute__((overloadable)) lgamma_r(float x, __local int *signp);
1272float2 __attribute__((overloadable)) lgamma_r(float2 x, __local int2 *signp);
1273float3 __attribute__((overloadable)) lgamma_r(float3 x, __local int3 *signp);
1274float4 __attribute__((overloadable)) lgamma_r(float4 x, __local int4 *signp);
1275float8 __attribute__((overloadable)) lgamma_r(float8 x, __local int8 *signp);
1276float16 __attribute__((overloadable)) lgamma_r(float16 x, __local int16 *signp);
1277float __attribute__((overloadable)) lgamma_r(float x, __private int *signp);
1278float2 __attribute__((overloadable)) lgamma_r(float2 x, __private int2 *signp);
1279float3 __attribute__((overloadable)) lgamma_r(float3 x, __private int3 *signp);
1280float4 __attribute__((overloadable)) lgamma_r(float4 x, __private int4 *signp);
1281float8 __attribute__((overloadable)) lgamma_r(float8 x, __private int8 *signp);
1282float16 __attribute__((overloadable)) lgamma_r(float16 x, __private int16 *signp);
1283double __attribute__((overloadable)) lgamma_r(double x, __global int *signp);
1284double2 __attribute__((overloadable)) lgamma_r(double2 x, __global int2 *signp);
1285double3 __attribute__((overloadable)) lgamma_r(double3 x, __global int3 *signp);
1286double4 __attribute__((overloadable)) lgamma_r(double4 x, __global int4 *signp);
1287double8 __attribute__((overloadable)) lgamma_r(double8 x, __global int8 *signp);
1288double16 __attribute__((overloadable)) lgamma_r(double16 x, __global int16 *signp);
1289double __attribute__((overloadable)) lgamma_r(double x, __local int *signp);
1290double2 __attribute__((overloadable)) lgamma_r(double2 x, __local int2 *signp);
1291double3 __attribute__((overloadable)) lgamma_r(double3 x, __local int3 *signp);
1292double4 __attribute__((overloadable)) lgamma_r(double4 x, __local int4 *signp);
1293double8 __attribute__((overloadable)) lgamma_r(double8 x, __local int8 *signp);
1294double16 __attribute__((overloadable)) lgamma_r(double16 x, __local int16 *signp);
1295double __attribute__((overloadable)) lgamma_r(double x, __private int *signp);
1296double2 __attribute__((overloadable)) lgamma_r(double2 x, __private int2 *signp);
1297double3 __attribute__((overloadable)) lgamma_r(double3 x, __private int3 *signp);
1298double4 __attribute__((overloadable)) lgamma_r(double4 x, __private int4 *signp);
1299double8 __attribute__((overloadable)) lgamma_r(double8 x, __private int8 *signp);
1300double16 __attribute__((overloadable)) lgamma_r(double16 x, __private int16 *signp);
1301//half __attribute__((overloadable)) lgamma_r(half x, __global int *signp);
1302//half2 __attribute__((overloadable)) lgamma_r(half2 x, __global int2 *signp);
1303//half3 __attribute__((overloadable)) lgamma_r(half3 x, __global int3 *signp);
1304//half4 __attribute__((overloadable)) lgamma_r(half4 x, __global int4 *signp);
1305//half8 __attribute__((overloadable)) lgamma_r(half8 x, __global int8 *signp);
1306//half16 __attribute__((overloadable)) lgamma_r(half16 x, __global int16 *signp);
1307//half __attribute__((overloadable)) lgamma_r(half x, __local int *signp);
1308//half2 __attribute__((overloadable)) lgamma_r(half2 x, __local int2 *signp);
1309//half3 __attribute__((overloadable)) lgamma_r(half3 x, __local int3 *signp);
1310//half4 __attribute__((overloadable)) lgamma_r(half4 x, __local int4 *signp);
1311//half8 __attribute__((overloadable)) lgamma_r(half8 x, __local int8 *signp);
1312//half16 __attribute__((overloadable)) lgamma_r(half16 x, __local int16 *signp);
1313//half __attribute__((overloadable)) lgamma_r(half x, __private int *signp);
1314//half2 __attribute__((overloadable)) lgamma_r(half2 x, __private int2 *signp);
1315//half3 __attribute__((overloadable)) lgamma_r(half3 x, __private int3 *signp);
1316//half4 __attribute__((overloadable)) lgamma_r(half4 x, __private int4 *signp);
1317//half8 __attribute__((overloadable)) lgamma_r(half8 x, __private int8 *signp);
1318//half16 __attribute__((overloadable)) lgamma_r(half16 x, __private int16 *signp);
1319
1320/**
1321 * Compute natural logarithm.
1322 */
1323float const_func __attribute__((overloadable)) log(float);
1324float2 const_func __attribute__((overloadable)) log(float2);
1325float3 const_func __attribute__((overloadable)) log(float3);
1326float4 const_func __attribute__((overloadable)) log(float4);
1327float8 const_func __attribute__((overloadable)) log(float8);
1328float16 const_func __attribute__((overloadable)) log(float16);
1329double const_func __attribute__((overloadable)) log(double);
1330double2 const_func __attribute__((overloadable)) log(double2);
1331double3 const_func __attribute__((overloadable)) log(double3);
1332double4 const_func __attribute__((overloadable)) log(double4);
1333double8 const_func __attribute__((overloadable)) log(double8);
1334double16 const_func __attribute__((overloadable)) log(double16);
1335//half const_func __attribute__((overloadable)) log(half);
1336//half2 const_func __attribute__((overloadable)) log(half2);
1337//half3 const_func __attribute__((overloadable)) log(half3);
1338//half4 const_func __attribute__((overloadable)) log(half4);
1339//half8 const_func __attribute__((overloadable)) log(half8);
1340//half16 const_func __attribute__((overloadable)) log(half16);
1341
1342/**
1343 * Compute a base 2 logarithm.
1344 */
1345float const_func __attribute__((overloadable)) log2(float);
1346float2 const_func __attribute__((overloadable)) log2(float2);
1347float3 const_func __attribute__((overloadable)) log2(float3);
1348float4 const_func __attribute__((overloadable)) log2(float4);
1349float8 const_func __attribute__((overloadable)) log2(float8);
1350float16 const_func __attribute__((overloadable)) log2(float16);
1351double const_func __attribute__((overloadable)) log2(double);
1352double2 const_func __attribute__((overloadable)) log2(double2);
1353double3 const_func __attribute__((overloadable)) log2(double3);
1354double4 const_func __attribute__((overloadable)) log2(double4);
1355double8 const_func __attribute__((overloadable)) log2(double8);
1356double16 const_func __attribute__((overloadable)) log2(double16);
1357//half const_func __attribute__((overloadable)) log2(half);
1358//half2 const_func __attribute__((overloadable)) log2(half2);
1359//half3 const_func __attribute__((overloadable)) log2(half3);
1360//half4 const_func __attribute__((overloadable)) log2(half4);
1361//half8 const_func __attribute__((overloadable)) log2(half8);
1362//half16 const_func __attribute__((overloadable)) log2(half16);
1363
1364/**
1365 * Compute a base 10 logarithm.
1366 */
1367float const_func __attribute__((overloadable)) log10(float);
1368float2 const_func __attribute__((overloadable)) log10(float2);
1369float3 const_func __attribute__((overloadable)) log10(float3);
1370float4 const_func __attribute__((overloadable)) log10(float4);
1371float8 const_func __attribute__((overloadable)) log10(float8);
1372float16 const_func __attribute__((overloadable)) log10(float16);
1373double const_func __attribute__((overloadable)) log10(double);
1374double2 const_func __attribute__((overloadable)) log10(double2);
1375double3 const_func __attribute__((overloadable)) log10(double3);
1376double4 const_func __attribute__((overloadable)) log10(double4);
1377double8 const_func __attribute__((overloadable)) log10(double8);
1378double16 const_func __attribute__((overloadable)) log10(double16);
1379//half const_func __attribute__((overloadable)) log10(half);
1380//half2 const_func __attribute__((overloadable)) log10(half2);
1381//half3 const_func __attribute__((overloadable)) log10(half3);
1382//half4 const_func __attribute__((overloadable)) log10(half4);
1383//half8 const_func __attribute__((overloadable)) log10(half8);
1384//half16 const_func __attribute__((overloadable)) log10(half16);
1385
1386/**
1387 * Compute a base e logarithm of (1.0 + x).
1388 */
1389float const_func __attribute__((overloadable)) log1p(float x);
1390float2 const_func __attribute__((overloadable)) log1p(float2 x);
1391float3 const_func __attribute__((overloadable)) log1p(float3 x);
1392float4 const_func __attribute__((overloadable)) log1p(float4 x);
1393float8 const_func __attribute__((overloadable)) log1p(float8 x);
1394float16 const_func __attribute__((overloadable)) log1p(float16 x);
1395double const_func __attribute__((overloadable)) log1p(double x);
1396double2 const_func __attribute__((overloadable)) log1p(double2 x);
1397double3 const_func __attribute__((overloadable)) log1p(double3 x);
1398double4 const_func __attribute__((overloadable)) log1p(double4 x);
1399double8 const_func __attribute__((overloadable)) log1p(double8 x);
1400double16 const_func __attribute__((overloadable)) log1p(double16 x);
1401//half const_func __attribute__((overloadable)) log1p(half x);
1402//half2 const_func __attribute__((overloadable)) log1p(half2 x);
1403//half3 const_func __attribute__((overloadable)) log1p(half3 x);
1404//half4 const_func __attribute__((overloadable)) log1p(half4 x);
1405//half8 const_func __attribute__((overloadable)) log1p(half8 x);
1406//half16 const_func __attribute__((overloadable)) log1p(half16 x);
1407
1408/**
1409 * Compute the exponent of x, which is the integral
1410 * part of logr | x |.
1411 */
1412float const_func __attribute__((overloadable)) logb(float x);
1413float2 const_func __attribute__((overloadable)) logb(float2 x);
1414float3 const_func __attribute__((overloadable)) logb(float3 x);
1415float4 const_func __attribute__((overloadable)) logb(float4 x);
1416float8 const_func __attribute__((overloadable)) logb(float8 x);
1417float16 const_func __attribute__((overloadable)) logb(float16 x);
1418double const_func __attribute__((overloadable)) logb(double x);
1419double2 const_func __attribute__((overloadable)) logb(double2 x);
1420double3 const_func __attribute__((overloadable)) logb(double3 x);
1421double4 const_func __attribute__((overloadable)) logb(double4 x);
1422double8 const_func __attribute__((overloadable)) logb(double8 x);
1423double16 const_func __attribute__((overloadable)) logb(double16 x);
1424//half const_func __attribute__((overloadable)) logb(half x);
1425//half2 const_func __attribute__((overloadable)) logb(half2 x);
1426//half3 const_func __attribute__((overloadable)) logb(half3 x);
1427//half4 const_func __attribute__((overloadable)) logb(half4 x);
1428//half8 const_func __attribute__((overloadable)) logb(half8 x);
1429//half16 const_func __attribute__((overloadable)) logb(half16 x);
1430
1431/**
1432 * mad approximates a * b + c. Whether or how the
1433 * product of a * b is rounded and how supernormal or
1434 * subnormal intermediate products are handled is not
1435 * defined. mad is intended to be used where speed is
1436 * preferred over accuracy.
1437 */
1438float const_func __attribute__((overloadable)) mad(float a, float b, float c);
1439float2 const_func __attribute__((overloadable)) mad(float2 a, float2 b, float2 c);
1440float3 const_func __attribute__((overloadable)) mad(float3 a, float3 b, float3 c);
1441float4 const_func __attribute__((overloadable)) mad(float4 a, float4 b, float4 c);
1442float8 const_func __attribute__((overloadable)) mad(float8 a, float8 b, float8 c);
1443float16 const_func __attribute__((overloadable)) mad(float16 a, float16 b, float16 c);
1444double const_func __attribute__((overloadable)) mad(double a, double b, double c);
1445double2 const_func __attribute__((overloadable)) mad(double2 a, double2 b, double2 c);
1446double3 const_func __attribute__((overloadable)) mad(double3 a, double3 b, double3 c);
1447double4 const_func __attribute__((overloadable)) mad(double4 a, double4 b, double4 c);
1448double8 const_func __attribute__((overloadable)) mad(double8 a, double8 b, double8 c);
1449double16 const_func __attribute__((overloadable)) mad(double16 a, double16 b, double16 c);
1450//half const_func __attribute__((overloadable)) mad(half a, half b, half c);
1451//half2 const_func __attribute__((overloadable)) mad(half2 a, half2 b, half2 c);
1452//half3 const_func __attribute__((overloadable)) mad(half3 a, half3 b, half3 c);
1453//half4 const_func __attribute__((overloadable)) mad(half4 a, half4 b, half4 c);
1454//half8 const_func __attribute__((overloadable)) mad(half8 a, half8 b, half8 c);
1455//half16 const_func __attribute__((overloadable)) mad(half16 a, half16 b, half16 c);
1456
1457/**
1458 * Returns x if | x | > | y |, y if | y | > | x |, otherwise
1459 * fmax(x, y).
1460 */
1461float const_func __attribute__((overloadable)) maxmag(float x, float y);
1462float2 const_func __attribute__((overloadable)) maxmag(float2 x, float2 y);
1463float3 const_func __attribute__((overloadable)) maxmag(float3 x, float3 y);
1464float4 const_func __attribute__((overloadable)) maxmag(float4 x, float4 y);
1465float8 const_func __attribute__((overloadable)) maxmag(float8 x, float8 y);
1466float16 const_func __attribute__((overloadable)) maxmag(float16 x, float16 y);
1467double const_func __attribute__((overloadable)) maxmag(double x, double y);
1468double2 const_func __attribute__((overloadable)) maxmag(double2 x, double2 y);
1469double3 const_func __attribute__((overloadable)) maxmag(double3 x, double3 y);
1470double4 const_func __attribute__((overloadable)) maxmag(double4 x, double4 y);
1471double8 const_func __attribute__((overloadable)) maxmag(double8 x, double8 y);
1472double16 const_func __attribute__((overloadable)) maxmag(double16 x, double16 y);
1473//half const_func __attribute__((overloadable)) maxmag(half x, half y);
1474//half2 const_func __attribute__((overloadable)) maxmag(half2 x, half2 y);
1475//half3 const_func __attribute__((overloadable)) maxmag(half3 x, half3 y);
1476//half4 const_func __attribute__((overloadable)) maxmag(half4 x, half4 y);
1477//half8 const_func __attribute__((overloadable)) maxmag(half8 x, half8 y);
1478//half16 const_func __attribute__((overloadable)) maxmag(half16 x, half16 y);
1479
1480/**
1481 * Returns x if | x | < | y |, y if | y | < | x |, otherwise
1482 * fmin(x, y).
1483 */
1484float const_func __attribute__((overloadable)) minmag(float x, float y);
1485float2 const_func __attribute__((overloadable)) minmag(float2 x, float2 y);
1486float3 const_func __attribute__((overloadable)) minmag(float3 x, float3 y);
1487float4 const_func __attribute__((overloadable)) minmag(float4 x, float4 y);
1488float8 const_func __attribute__((overloadable)) minmag(float8 x, float8 y);
1489float16 const_func __attribute__((overloadable)) minmag(float16 x, float16 y);
1490double const_func __attribute__((overloadable)) minmag(double x, double y);
1491double2 const_func __attribute__((overloadable)) minmag(double2 x, double2 y);
1492double3 const_func __attribute__((overloadable)) minmag(double3 x, double3 y);
1493double4 const_func __attribute__((overloadable)) minmag(double4 x, double4 y);
1494double8 const_func __attribute__((overloadable)) minmag(double8 x, double8 y);
1495double16 const_func __attribute__((overloadable)) minmag(double16 x, double16 y);
1496//half const_func __attribute__((overloadable)) minmag(half x, half y);
1497//half2 const_func __attribute__((overloadable)) minmag(half2 x, half2 y);
1498//half3 const_func __attribute__((overloadable)) minmag(half3 x, half3 y);
1499//half4 const_func __attribute__((overloadable)) minmag(half4 x, half4 y);
1500//half8 const_func __attribute__((overloadable)) minmag(half8 x, half8 y);
1501//half16 const_func __attribute__((overloadable)) minmag(half16 x, half16 y);
1502
1503/**
1504 * Decompose a floating-point number. The modf
1505 * function breaks the argument x into integral and
1506 * fractional parts, each of which has the same sign as
1507 * the argument. It stores the integral part in the object
1508 * pointed to by iptr.
1509 */
1510float __attribute__((overloadable)) modf(float x, __global float *iptr);
1511float2 __attribute__((overloadable)) modf(float2 x, __global float2 *iptr);
1512float3 __attribute__((overloadable)) modf(float3 x, __global float3 *iptr);
1513float4 __attribute__((overloadable)) modf(float4 x, __global float4 *iptr);
1514float8 __attribute__((overloadable)) modf(float8 x, __global float8 *iptr);
1515float16 __attribute__((overloadable)) modf(float16 x, __global float16 *iptr);
1516float __attribute__((overloadable)) modf(float x, __local float *iptr);
1517float2 __attribute__((overloadable)) modf(float2 x, __local float2 *iptr);
1518float3 __attribute__((overloadable)) modf(float3 x, __local float3 *iptr);
1519float4 __attribute__((overloadable)) modf(float4 x, __local float4 *iptr);
1520float8 __attribute__((overloadable)) modf(float8 x, __local float8 *iptr);
1521float16 __attribute__((overloadable)) modf(float16 x, __local float16 *iptr);
1522float __attribute__((overloadable)) modf(float x, __private float *iptr);
1523float2 __attribute__((overloadable)) modf(float2 x, __private float2 *iptr);
1524float3 __attribute__((overloadable)) modf(float3 x, __private float3 *iptr);
1525float4 __attribute__((overloadable)) modf(float4 x, __private float4 *iptr);
1526float8 __attribute__((overloadable)) modf(float8 x, __private float8 *iptr);
1527float16 __attribute__((overloadable)) modf(float16 x, __private float16 *iptr);
1528double __attribute__((overloadable)) modf(double x, __global double *iptr);
1529double2 __attribute__((overloadable)) modf(double2 x, __global double2 *iptr);
1530double3 __attribute__((overloadable)) modf(double3 x, __global double3 *iptr);
1531double4 __attribute__((overloadable)) modf(double4 x, __global double4 *iptr);
1532double8 __attribute__((overloadable)) modf(double8 x, __global double8 *iptr);
1533double16 __attribute__((overloadable)) modf(double16 x, __global double16 *iptr);
1534double __attribute__((overloadable)) modf(double x, __local double *iptr);
1535double2 __attribute__((overloadable)) modf(double2 x, __local double2 *iptr);
1536double3 __attribute__((overloadable)) modf(double3 x, __local double3 *iptr);
1537double4 __attribute__((overloadable)) modf(double4 x, __local double4 *iptr);
1538double8 __attribute__((overloadable)) modf(double8 x, __local double8 *iptr);
1539double16 __attribute__((overloadable)) modf(double16 x, __local double16 *iptr);
1540double __attribute__((overloadable)) modf(double x, __private double *iptr);
1541double2 __attribute__((overloadable)) modf(double2 x, __private double2 *iptr);
1542double3 __attribute__((overloadable)) modf(double3 x, __private double3 *iptr);
1543double4 __attribute__((overloadable)) modf(double4 x, __private double4 *iptr);
1544double8 __attribute__((overloadable)) modf(double8 x, __private double8 *iptr);
1545double16 __attribute__((overloadable)) modf(double16 x, __private double16 *iptr);
1546//half __attribute__((overloadable)) modf(half x, __global half *iptr);
1547//half2 __attribute__((overloadable)) modf(half2 x, __global half2 *iptr);
1548//half3 __attribute__((overloadable)) modf(half3 x, __global half3 *iptr);
1549//half4 __attribute__((overloadable)) modf(half4 x, __global half4 *iptr);
1550//half8 __attribute__((overloadable)) modf(half8 x, __global half8 *iptr);
1551//half16 __attribute__((overloadable)) modf(half16 x, __global half16 *iptr);
1552//half __attribute__((overloadable)) modf(half x, __local half *iptr);
1553//half2 __attribute__((overloadable)) modf(half2 x, __local half2 *iptr);
1554//half3 __attribute__((overloadable)) modf(half3 x, __local half3 *iptr);
1555//half4 __attribute__((overloadable)) modf(half4 x, __local half4 *iptr);
1556//half8 __attribute__((overloadable)) modf(half8 x, __local half8 *iptr);
1557//half16 __attribute__((overloadable)) modf(half16 x, __local half16 *iptr);
1558//half __attribute__((overloadable)) modf(half x, __private half *iptr);
1559//half2 __attribute__((overloadable)) modf(half2 x, __private half2 *iptr);
1560//half3 __attribute__((overloadable)) modf(half3 x, __private half3 *iptr);
1561//half4 __attribute__((overloadable)) modf(half4 x, __private half4 *iptr);
1562//half8 __attribute__((overloadable)) modf(half8 x, __private half8 *iptr);
1563//half16 __attribute__((overloadable)) modf(half16 x, __private half16 *iptr);
1564
1565/**
1566 * Returns a quiet NaN. The nancode may be placed
1567 * in the significand of the resulting NaN.
1568 */
1569float const_func __attribute__((overloadable)) nan(uint nancode);
1570float2 const_func __attribute__((overloadable)) nan(uint2 nancode);
1571float3 const_func __attribute__((overloadable)) nan(uint3 nancode);
1572float4 const_func __attribute__((overloadable)) nan(uint4 nancode);
1573float8 const_func __attribute__((overloadable)) nan(uint8 nancode);
1574float16 const_func __attribute__((overloadable)) nan(uint16 nancode);
1575double const_func __attribute__((overloadable)) nan(ulong nancode);
1576double2 const_func __attribute__((overloadable)) nan(ulong2 nancode);
1577double3 const_func __attribute__((overloadable)) nan(ulong3 nancode);
1578double4 const_func __attribute__((overloadable)) nan(ulong4 nancode);
1579double8 const_func __attribute__((overloadable)) nan(ulong8 nancode);
1580double16 const_func __attribute__((overloadable)) nan(ulong16 nancode);
1581//half const_func __attribute__((overloadable)) nan(ushort nancode);
1582//half2 const_func __attribute__((overloadable)) nan(ushort2 nancode);
1583//half3 const_func __attribute__((overloadable)) nan(ushort3 nancode);
1584//half4 const_func __attribute__((overloadable)) nan(ushort4 nancode);
1585//half8 const_func __attribute__((overloadable)) nan(ushort8 nancode);
1586//half16 const_func __attribute__((overloadable)) nan(ushort16 nancode);
1587
1588/**
1589 * Computes the next representable single-precision
1590 * floating-point value following x in the direction of
1591 * y. Thus, if y is less than x, nextafter() returns the
1592 * largest representable floating-point number less
1593 * than x.
1594 */
1595float const_func __attribute__((overloadable)) nextafter(float x, float y);
1596float2 const_func __attribute__((overloadable)) nextafter(float2 x, float2 y);
1597float3 const_func __attribute__((overloadable)) nextafter(float3 x, float3 y);
1598float4 const_func __attribute__((overloadable)) nextafter(float4 x, float4 y);
1599float8 const_func __attribute__((overloadable)) nextafter(float8 x, float8 y);
1600float16 const_func __attribute__((overloadable)) nextafter(float16 x, float16 y);
1601double const_func __attribute__((overloadable)) nextafter(double x, double y);
1602double2 const_func __attribute__((overloadable)) nextafter(double2 x, double2 y);
1603double3 const_func __attribute__((overloadable)) nextafter(double3 x, double3 y);
1604double4 const_func __attribute__((overloadable)) nextafter(double4 x, double4 y);
1605double8 const_func __attribute__((overloadable)) nextafter(double8 x, double8 y);
1606double16 const_func __attribute__((overloadable)) nextafter(double16 x, double16 y);
1607//half const_func __attribute__((overloadable)) nextafter(half x, half y);
1608//half2 const_func __attribute__((overloadable)) nextafter(half2 x, half2 y);
1609//half3 const_func __attribute__((overloadable)) nextafter(half3 x, half3 y);
1610//half4 const_func __attribute__((overloadable)) nextafter(half4 x, half4 y);
1611//half8 const_func __attribute__((overloadable)) nextafter(half8 x, half8 y);
1612//half16 const_func __attribute__((overloadable)) nextafter(half16 x, half16 y);
1613
1614/**
1615 * Compute x to the power y.
1616 */
1617double const_func __attribute__((overloadable)) pow(double x, double y);
1618double2 const_func __attribute__((overloadable)) pow(double2 x, double2 y);
1619double3 const_func __attribute__((overloadable)) pow(double3 x, double3 y);
1620double4 const_func __attribute__((overloadable)) pow(double4 x, double4 y);
1621double8 const_func __attribute__((overloadable)) pow(double8 x, double8 y);
1622double16 const_func __attribute__((overloadable)) pow(double16 x, double16 y);
1623float const_func __attribute__((overloadable)) pow(float x, float y);
1624float2 const_func __attribute__((overloadable)) pow(float2 x, float2 y);
1625float3 const_func __attribute__((overloadable)) pow(float3 x, float3 y);
1626float4 const_func __attribute__((overloadable)) pow(float4 x, float4 y);
1627float8 const_func __attribute__((overloadable)) pow(float8 x, float8 y);
1628float16 const_func __attribute__((overloadable)) pow(float16 x, float16 y);
1629//half const_func __attribute__((overloadable)) pow(half x, half y);
1630//half2 const_func __attribute__((overloadable)) pow(half2 x, half2 y);
1631//half3 const_func __attribute__((overloadable)) pow(half3 x, half3 y);
1632//half4 const_func __attribute__((overloadable)) pow(half4 x, half4 y);
1633//half8 const_func __attribute__((overloadable)) pow(half8 x, half8 y);
1634//half16 const_func __attribute__((overloadable)) pow(half16 x, half16 y);
1635
1636/**
1637 * Compute x to the power y, where y is an integer.
1638 */
1639float const_func __attribute__((overloadable)) pown(float x, int y);
1640float2 const_func __attribute__((overloadable)) pown(float2 x, int2 y);
1641float3 const_func __attribute__((overloadable)) pown(float3 x, int3 y);
1642float4 const_func __attribute__((overloadable)) pown(float4 x, int4 y);
1643float8 const_func __attribute__((overloadable)) pown(float8 x, int8 y);
1644float16 const_func __attribute__((overloadable)) pown(float16 x, int16 y);
1645double const_func __attribute__((overloadable)) pown(double x, int y);
1646double2 const_func __attribute__((overloadable)) pown(double2 x, int2 y);
1647double3 const_func __attribute__((overloadable)) pown(double3 x, int3 y);
1648double4 const_func __attribute__((overloadable)) pown(double4 x, int4 y);
1649double8 const_func __attribute__((overloadable)) pown(double8 x, int8 y);
1650double16 const_func __attribute__((overloadable)) pown(double16 x, int16 y);
1651//half const_func __attribute__((overloadable)) pown(half x, int y);
1652//half2 const_func __attribute__((overloadable)) pown(half2 x, int2 y);
1653//half3 const_func __attribute__((overloadable)) pown(half3 x, int3 y);
1654//half4 const_func __attribute__((overloadable)) pown(half4 x, int4 y);
1655//half8 const_func __attribute__((overloadable)) pown(half8 x, int8 y);
1656//half16 const_func __attribute__((overloadable)) pown(half16 x, int16 y);
1657
1658/**
1659 * Compute x to the power y, where x is >= 0.
1660 */
1661float const_func __attribute__((overloadable)) powr(float x, float y);
1662float2 const_func __attribute__((overloadable)) powr(float2 x, float2 y);
1663float3 const_func __attribute__((overloadable)) powr(float3 x, float3 y);
1664float4 const_func __attribute__((overloadable)) powr(float4 x, float4 y);
1665float8 const_func __attribute__((overloadable)) powr(float8 x, float8 y);
1666float16 const_func __attribute__((overloadable)) powr(float16 x, float16 y);
1667double const_func __attribute__((overloadable)) powr(double x, double y);
1668double2 const_func __attribute__((overloadable)) powr(double2 x, double2 y);
1669double3 const_func __attribute__((overloadable)) powr(double3 x, double3 y);
1670double4 const_func __attribute__((overloadable)) powr(double4 x, double4 y);
1671double8 const_func __attribute__((overloadable)) powr(double8 x, double8 y);
1672double16 const_func __attribute__((overloadable)) powr(double16 x, double16 y);
1673//half const_func __attribute__((overloadable)) powr(half x, half y);
1674//half2 const_func __attribute__((overloadable)) powr(half2 x, half2 y);
1675//half3 const_func __attribute__((overloadable)) powr(half3 x, half3 y);
1676//half4 const_func __attribute__((overloadable)) powr(half4 x, half4 y);
1677//half8 const_func __attribute__((overloadable)) powr(half8 x, half8 y);
1678//half16 const_func __attribute__((overloadable)) powr(half16 x, half16 y);
1679
1680/**
1681 * Compute the value r such that r = x - n*y, where n
1682 * is the integer nearest the exact value of x/y. If there
1683 * are two integers closest to x/y, n shall be the even
1684 * one. If r is zero, it is given the same sign as x.
1685 */
1686float const_func __attribute__((overloadable)) remainder(float x, float y);
1687float2 const_func __attribute__((overloadable)) remainder(float2 x, float2 y);
1688float3 const_func __attribute__((overloadable)) remainder(float3 x, float3 y);
1689float4 const_func __attribute__((overloadable)) remainder(float4 x, float4 y);
1690float8 const_func __attribute__((overloadable)) remainder(float8 x, float8 y);
1691float16 const_func __attribute__((overloadable)) remainder(float16 x, float16 y);
1692double const_func __attribute__((overloadable)) remainder(double x, double y);
1693double2 const_func __attribute__((overloadable)) remainder(double2 x, double2 y);
1694double3 const_func __attribute__((overloadable)) remainder(double3 x, double3 y);
1695double4 const_func __attribute__((overloadable)) remainder(double4 x, double4 y);
1696double8 const_func __attribute__((overloadable)) remainder(double8 x, double8 y);
1697double16 const_func __attribute__((overloadable)) remainder(double16 x, double16 y);
1698//half const_func __attribute__((overloadable)) remainder(half x, half y);
1699//half2 const_func __attribute__((overloadable)) remainder(half2 x, half2 y);
1700//half3 const_func __attribute__((overloadable)) remainder(half3 x, half3 y);
1701//half4 const_func __attribute__((overloadable)) remainder(half4 x, half4 y);
1702//half8 const_func __attribute__((overloadable)) remainder(half8 x, half8 y);
1703//half16 const_func __attribute__((overloadable)) remainder(half16 x, half16 y);
1704
1705/**
1706 * The remquo function computes the value r such
1707 * that r = x - n*y, where n is the integer nearest the
1708 * exact value of x/y. If there are two integers closest
1709 * to x/y, n shall be the even one. If r is zero, it is
1710 * given the same sign as x. This is the same value
1711 * that is returned by the remainder function.
1712 * remquo also calculates the lower seven bits of the
1713 * integral quotient x/y, and gives that value the same
1714 * sign as x/y. It stores this signed value in the object
1715 * pointed to by quo.
1716 */
1717float __attribute__((overloadable)) remquo(float x, float y, __global int *quo);
1718float2 __attribute__((overloadable)) remquo(float2 x, float2 y, __global int2 *quo);
1719float3 __attribute__((overloadable)) remquo(float3 x, float3 y, __global int3 *quo);
1720float4 __attribute__((overloadable)) remquo(float4 x, float4 y, __global int4 *quo);
1721float8 __attribute__((overloadable)) remquo(float8 x, float8 y, __global int8 *quo);
1722float16 __attribute__((overloadable)) remquo(float16 x, float16 y, __global int16 *quo);
1723float __attribute__((overloadable)) remquo(float x, float y, __local int *quo);
1724float2 __attribute__((overloadable)) remquo(float2 x, float2 y, __local int2 *quo);
1725float3 __attribute__((overloadable)) remquo(float3 x, float3 y, __local int3 *quo);
1726float4 __attribute__((overloadable)) remquo(float4 x, float4 y, __local int4 *quo);
1727float8 __attribute__((overloadable)) remquo(float8 x, float8 y, __local int8 *quo);
1728float16 __attribute__((overloadable)) remquo(float16 x, float16 y, __local int16 *quo);
1729float __attribute__((overloadable)) remquo(float x, float y, __private int *quo);
1730float2 __attribute__((overloadable)) remquo(float2 x, float2 y, __private int2 *quo);
1731float3 __attribute__((overloadable)) remquo(float3 x, float3 y, __private int3 *quo);
1732float4 __attribute__((overloadable)) remquo(float4 x, float4 y, __private int4 *quo);
1733float8 __attribute__((overloadable)) remquo(float8 x, float8 y, __private int8 *quo);
1734float16 __attribute__((overloadable)) remquo(float16 x, float16 y, __private int16 *quo);
1735double __attribute__((overloadable)) remquo(double x, double y, __global int *quo);
1736double2 __attribute__((overloadable)) remquo(double2 x, double2 y, __global int2 *quo);
1737double3 __attribute__((overloadable)) remquo(double3 x, double3 y, __global int3 *quo);
1738double4 __attribute__((overloadable)) remquo(double4 x, double4 y, __global int4 *quo);
1739double8 __attribute__((overloadable)) remquo(double8 x, double8 y, __global int8 *quo);
1740double16 __attribute__((overloadable)) remquo(double16 x, double16 y, __global int16 *quo);
1741double __attribute__((overloadable)) remquo(double x, double y, __local int *quo);
1742double2 __attribute__((overloadable)) remquo(double2 x, double2 y, __local int2 *quo);
1743double3 __attribute__((overloadable)) remquo(double3 x, double3 y, __local int3 *quo);
1744double4 __attribute__((overloadable)) remquo(double4 x, double4 y, __local int4 *quo);
1745double8 __attribute__((overloadable)) remquo(double8 x, double8 y, __local int8 *quo);
1746double16 __attribute__((overloadable)) remquo(double16 x, double16 y, __local int16 *quo);
1747double __attribute__((overloadable)) remquo(double x, double y, __private int *quo);
1748double2 __attribute__((overloadable)) remquo(double2 x, double2 y, __private int2 *quo);
1749double3 __attribute__((overloadable)) remquo(double3 x, double3 y, __private int3 *quo);
1750double4 __attribute__((overloadable)) remquo(double4 x, double4 y, __private int4 *quo);
1751double8 __attribute__((overloadable)) remquo(double8 x, double8 y, __private int8 *quo);
1752double16 __attribute__((overloadable)) remquo(double16 x, double16 y, __private int16 *quo);
1753//half __attribute__((overloadable)) remquo(half x, half y, __global int *quo);
1754//half2 __attribute__((overloadable)) remquo(half2 x, half2 y, __global int2 *quo);
1755//half3 __attribute__((overloadable)) remquo(half3 x, half3 y, __global int3 *quo);
1756//half4 __attribute__((overloadable)) remquo(half4 x, half4 y, __global int4 *quo);
1757//half8 __attribute__((overloadable)) remquo(half8 x, half8 y, __global int8 *quo);
1758//half16 __attribute__((overloadable)) remquo(half16 x, half16 y, __global int16 *quo);
1759//half __attribute__((overloadable)) remquo(half x, half y, __local int *quo);
1760//half2 __attribute__((overloadable)) remquo(half2 x, half2 y, __local int2 *quo);
1761//half3 __attribute__((overloadable)) remquo(half3 x, half3 y, __local int3 *quo);
1762//half4 __attribute__((overloadable)) remquo(half4 x, half4 y, __local int4 *quo);
1763//half8 __attribute__((overloadable)) remquo(half8 x, half8 y, __local int8 *quo);
1764//half16 __attribute__((overloadable)) remquo(half16 x, half16 y, __local int16 *quo);
1765//half __attribute__((overloadable)) remquo(half x, half y, __private int *quo);
1766//half2 __attribute__((overloadable)) remquo(half2 x, half2 y, __private int2 *quo);
1767//half3 __attribute__((overloadable)) remquo(half3 x, half3 y, __private int3 *quo);
1768//half4 __attribute__((overloadable)) remquo(half4 x, half4 y, __private int4 *quo);
1769//half8 __attribute__((overloadable)) remquo(half8 x, half8 y, __private int8 *quo);
1770//half16 __attribute__((overloadable)) remquo(half16 x, half16 y, __private int16 *quo);
1771
1772/**
1773 * Round to integral value (using round to nearest
1774 * even rounding mode) in floating-point format.
1775 * Refer to section 7.1 for description of rounding
1776 * modes.
1777 */
1778float const_func __attribute__((overloadable)) rint(float);
1779float2 const_func __attribute__((overloadable)) rint(float2);
1780float3 const_func __attribute__((overloadable)) rint(float3);
1781float4 const_func __attribute__((overloadable)) rint(float4);
1782float8 const_func __attribute__((overloadable)) rint(float8);
1783float16 const_func __attribute__((overloadable)) rint(float16);
1784double const_func __attribute__((overloadable)) rint(double);
1785double2 const_func __attribute__((overloadable)) rint(double2);
1786double3 const_func __attribute__((overloadable)) rint(double3);
1787double4 const_func __attribute__((overloadable)) rint(double4);
1788double8 const_func __attribute__((overloadable)) rint(double8);
1789double16 const_func __attribute__((overloadable)) rint(double16);
1790//half const_func __attribute__((overloadable)) rint(half);
1791//half2 const_func __attribute__((overloadable)) rint(half2);
1792//half3 const_func __attribute__((overloadable)) rint(half3);
1793//half4 const_func __attribute__((overloadable)) rint(half4);
1794//half8 const_func __attribute__((overloadable)) rint(half8);
1795//half16 const_func __attribute__((overloadable)) rint(half16);
1796
1797/**
1798 * Compute x to the power 1/y.
1799 */
1800float const_func __attribute__((overloadable)) rootn(float x, int y);
1801float2 const_func __attribute__((overloadable)) rootn(float2 x, int2 y);
1802float3 const_func __attribute__((overloadable)) rootn(float3 x, int3 y);
1803float4 const_func __attribute__((overloadable)) rootn(float4 x, int4 y);
1804float8 const_func __attribute__((overloadable)) rootn(float8 x, int8 y);
1805float16 const_func __attribute__((overloadable)) rootn(float16 x, int16 y);
1806double const_func __attribute__((overloadable)) rootn(double x, int y);
1807double2 const_func __attribute__((overloadable)) rootn(double2 x, int2 y);
1808double3 const_func __attribute__((overloadable)) rootn(double3 x, int3 y);
1809double4 const_func __attribute__((overloadable)) rootn(double4 x, int4 y);
1810double8 const_func __attribute__((overloadable)) rootn(double8 x, int8 y);
1811double16 const_func __attribute__((overloadable)) rootn(double16 x, int16 y);
1812//half const_func __attribute__((overloadable)) rootn(half x, int y);
1813//half2 const_func __attribute__((overloadable)) rootn(half2 x, int2 y);
1814//half3 const_func __attribute__((overloadable)) rootn(half3 x, int3 y);
1815//half4 const_func __attribute__((overloadable)) rootn(half4 x, int4 y);
1816//half8 const_func __attribute__((overloadable)) rootn(half8 x, int8 y);
1817//half16 const_func __attribute__((overloadable)) rootn(half16 x, int16 y);
1818
1819/**
1820 * Return the integral value nearest to x rounding
1821 * halfway cases away from zero, regardless of the
1822 * current rounding direction.
1823 */
1824float const_func __attribute__((overloadable)) round(float x);
1825float2 const_func __attribute__((overloadable)) round(float2 x);
1826float3 const_func __attribute__((overloadable)) round(float3 x);
1827float4 const_func __attribute__((overloadable)) round(float4 x);
1828float8 const_func __attribute__((overloadable)) round(float8 x);
1829float16 const_func __attribute__((overloadable)) round(float16 x);
1830double const_func __attribute__((overloadable)) round(double x);
1831double2 const_func __attribute__((overloadable)) round(double2 x);
1832double3 const_func __attribute__((overloadable)) round(double3 x);
1833double4 const_func __attribute__((overloadable)) round(double4 x);
1834double8 const_func __attribute__((overloadable)) round(double8 x);
1835double16 const_func __attribute__((overloadable)) round(double16 x);
1836//half const_func __attribute__((overloadable)) round(half x);
1837//half2 const_func __attribute__((overloadable)) round(half2 x);
1838//half3 const_func __attribute__((overloadable)) round(half3 x);
1839//half4 const_func __attribute__((overloadable)) round(half4 x);
1840//half8 const_func __attribute__((overloadable)) round(half8 x);
1841//half16 const_func __attribute__((overloadable)) round(half16 x);
1842
1843/**
1844 * Compute inverse square root.
1845 */
1846float const_func __attribute__((overloadable)) rsqrt(float);
1847float2 const_func __attribute__((overloadable)) rsqrt(float2);
1848float3 const_func __attribute__((overloadable)) rsqrt(float3);
1849float4 const_func __attribute__((overloadable)) rsqrt(float4);
1850float8 const_func __attribute__((overloadable)) rsqrt(float8);
1851float16 const_func __attribute__((overloadable)) rsqrt(float16);
1852double const_func __attribute__((overloadable)) rsqrt(double);
1853double2 const_func __attribute__((overloadable)) rsqrt(double2);
1854double3 const_func __attribute__((overloadable)) rsqrt(double3);
1855double4 const_func __attribute__((overloadable)) rsqrt(double4);
1856double8 const_func __attribute__((overloadable)) rsqrt(double8);
1857double16 const_func __attribute__((overloadable)) rsqrt(double16);
1858//half const_func __attribute__((overloadable)) rsqrt(half);
1859//half2 const_func __attribute__((overloadable)) rsqrt(half2);
1860//half3 const_func __attribute__((overloadable)) rsqrt(half3);
1861//half4 const_func __attribute__((overloadable)) rsqrt(half4);
1862//half8 const_func __attribute__((overloadable)) rsqrt(half8);
1863//half16 const_func __attribute__((overloadable)) rsqrt(half16);
1864
1865/**
1866 * Compute sine.
1867 */
1868double const_func __attribute__((overloadable)) sin(double);
1869double2 const_func __attribute__((overloadable)) sin(double2);
1870double3 const_func __attribute__((overloadable)) sin(double3);
1871double4 const_func __attribute__((overloadable)) sin(double4);
1872double8 const_func __attribute__((overloadable)) sin(double8);
1873double16 const_func __attribute__((overloadable)) sin(double16);
1874float const_func __attribute__((overloadable)) sin(float);
1875float2 const_func __attribute__((overloadable)) sin(float2);
1876float3 const_func __attribute__((overloadable)) sin(float3);
1877float4 const_func __attribute__((overloadable)) sin(float4);
1878float8 const_func __attribute__((overloadable)) sin(float8);
1879float16 const_func __attribute__((overloadable)) sin(float16);
1880//half const_func __attribute__((overloadable)) sin(half);
1881//half2 const_func __attribute__((overloadable)) sin(half2);
1882//half3 const_func __attribute__((overloadable)) sin(half3);
1883//half4 const_func __attribute__((overloadable)) sin(half4);
1884//half8 const_func __attribute__((overloadable)) sin(half8);
1885//half16 const_func __attribute__((overloadable)) sin(half16);
1886
1887/**
1888 * Compute sine and cosine of x. The computed sine
1889 * is the return value and computed cosine is returned
1890 * in cosval.
1891 */
1892float __attribute__((overloadable)) sincos(float x, __global float *cosval);
1893float2 __attribute__((overloadable)) sincos(float2 x, __global float2 *cosval);
1894float3 __attribute__((overloadable)) sincos(float3 x, __global float3 *cosval);
1895float4 __attribute__((overloadable)) sincos(float4 x, __global float4 *cosval);
1896float8 __attribute__((overloadable)) sincos(float8 x, __global float8 *cosval);
1897float16 __attribute__((overloadable)) sincos(float16 x, __global float16 *cosval);
1898float __attribute__((overloadable)) sincos(float x, __local float *cosval);
1899float2 __attribute__((overloadable)) sincos(float2 x, __local float2 *cosval);
1900float3 __attribute__((overloadable)) sincos(float3 x, __local float3 *cosval);
1901float4 __attribute__((overloadable)) sincos(float4 x, __local float4 *cosval);
1902float8 __attribute__((overloadable)) sincos(float8 x, __local float8 *cosval);
1903float16 __attribute__((overloadable)) sincos(float16 x, __local float16 *cosval);
1904float __attribute__((overloadable)) sincos(float x, __private float *cosval);
1905float2 __attribute__((overloadable)) sincos(float2 x, __private float2 *cosval);
1906float3 __attribute__((overloadable)) sincos(float3 x, __private float3 *cosval);
1907float4 __attribute__((overloadable)) sincos(float4 x, __private float4 *cosval);
1908float8 __attribute__((overloadable)) sincos(float8 x, __private float8 *cosval);
1909float16 __attribute__((overloadable)) sincos(float16 x, __private float16 *cosval);
1910double __attribute__((overloadable)) sincos(double x, __global double *cosval);
1911double2 __attribute__((overloadable)) sincos(double2 x, __global double2 *cosval);
1912double3 __attribute__((overloadable)) sincos(double3 x, __global double3 *cosval);
1913double4 __attribute__((overloadable)) sincos(double4 x, __global double4 *cosval);
1914double8 __attribute__((overloadable)) sincos(double8 x, __global double8 *cosval);
1915double16 __attribute__((overloadable)) sincos(double16 x, __global double16 *cosval);
1916double __attribute__((overloadable)) sincos(double x, __local double *cosval);
1917double2 __attribute__((overloadable)) sincos(double2 x, __local double2 *cosval);
1918double3 __attribute__((overloadable)) sincos(double3 x, __local double3 *cosval);
1919double4 __attribute__((overloadable)) sincos(double4 x, __local double4 *cosval);
1920double8 __attribute__((overloadable)) sincos(double8 x, __local double8 *cosval);
1921double16 __attribute__((overloadable)) sincos(double16 x, __local double16 *cosval);
1922double __attribute__((overloadable)) sincos(double x, __private double *cosval);
1923double2 __attribute__((overloadable)) sincos(double2 x, __private double2 *cosval);
1924double3 __attribute__((overloadable)) sincos(double3 x, __private double3 *cosval);
1925double4 __attribute__((overloadable)) sincos(double4 x, __private double4 *cosval);
1926double8 __attribute__((overloadable)) sincos(double8 x, __private double8 *cosval);
1927double16 __attribute__((overloadable)) sincos(double16 x, __private double16 *cosval);
1928//half __attribute__((overloadable)) sincos(half x, __global half *cosval);
1929//half2 __attribute__((overloadable)) sincos(half2 x, __global half2 *cosval);
1930//half3 __attribute__((overloadable)) sincos(half3 x, __global half3 *cosval);
1931//half4 __attribute__((overloadable)) sincos(half4 x, __global half4 *cosval);
1932//half8 __attribute__((overloadable)) sincos(half8 x, __global half8 *cosval);
1933//half16 __attribute__((overloadable)) sincos(half16 x, __global half16 *cosval);
1934//half __attribute__((overloadable)) sincos(half x, __local half *cosval);
1935//half2 __attribute__((overloadable)) sincos(half2 x, __local half2 *cosval);
1936//half3 __attribute__((overloadable)) sincos(half3 x, __local half3 *cosval);
1937//half4 __attribute__((overloadable)) sincos(half4 x, __local half4 *cosval);
1938//half8 __attribute__((overloadable)) sincos(half8 x, __local half8 *cosval);
1939//half16 __attribute__((overloadable)) sincos(half16 x, __local half16 *cosval);
1940//half __attribute__((overloadable)) sincos(half x, __private half *cosval);
1941//half2 __attribute__((overloadable)) sincos(half2 x, __private half2 *cosval);
1942//half3 __attribute__((overloadable)) sincos(half3 x, __private half3 *cosval);
1943//half4 __attribute__((overloadable)) sincos(half4 x, __private half4 *cosval);
1944//half8 __attribute__((overloadable)) sincos(half8 x, __private half8 *cosval);
1945//half16 __attribute__((overloadable)) sincos(half16 x, __private half16 *cosval);
1946
1947/**
1948 * Compute hyperbolic sine.
1949 */
1950float const_func __attribute__((overloadable)) sinh(float);
1951float2 const_func __attribute__((overloadable)) sinh(float2);
1952float3 const_func __attribute__((overloadable)) sinh(float3);
1953float4 const_func __attribute__((overloadable)) sinh(float4);
1954float8 const_func __attribute__((overloadable)) sinh(float8);
1955float16 const_func __attribute__((overloadable)) sinh(float16);
1956double const_func __attribute__((overloadable)) sinh(double);
1957double2 const_func __attribute__((overloadable)) sinh(double2);
1958double3 const_func __attribute__((overloadable)) sinh(double3);
1959double4 const_func __attribute__((overloadable)) sinh(double4);
1960double8 const_func __attribute__((overloadable)) sinh(double8);
1961double16 const_func __attribute__((overloadable)) sinh(double16);
1962//half const_func __attribute__((overloadable)) sinh(half);
1963//half2 const_func __attribute__((overloadable)) sinh(half2);
1964//half3 const_func __attribute__((overloadable)) sinh(half3);
1965//half4 const_func __attribute__((overloadable)) sinh(half4);
1966//half8 const_func __attribute__((overloadable)) sinh(half8);
1967//half16 const_func __attribute__((overloadable)) sinh(half16);
1968
1969/**
1970 * Compute sin (PI * x).
1971 */
1972float const_func __attribute__((overloadable)) sinpi(float x);
1973float2 const_func __attribute__((overloadable)) sinpi(float2 x);
1974float3 const_func __attribute__((overloadable)) sinpi(float3 x);
1975float4 const_func __attribute__((overloadable)) sinpi(float4 x);
1976float8 const_func __attribute__((overloadable)) sinpi(float8 x);
1977float16 const_func __attribute__((overloadable)) sinpi(float16 x);
1978double const_func __attribute__((overloadable)) sinpi(double x);
1979double2 const_func __attribute__((overloadable)) sinpi(double2 x);
1980double3 const_func __attribute__((overloadable)) sinpi(double3 x);
1981double4 const_func __attribute__((overloadable)) sinpi(double4 x);
1982double8 const_func __attribute__((overloadable)) sinpi(double8 x);
1983double16 const_func __attribute__((overloadable)) sinpi(double16 x);
1984//half const_func __attribute__((overloadable)) sinpi(half x);
1985//half2 const_func __attribute__((overloadable)) sinpi(half2 x);
1986//half3 const_func __attribute__((overloadable)) sinpi(half3 x);
1987//half4 const_func __attribute__((overloadable)) sinpi(half4 x);
1988//half8 const_func __attribute__((overloadable)) sinpi(half8 x);
1989//half16 const_func __attribute__((overloadable)) sinpi(half16 x);
1990
1991/**
1992 * Compute square root.
1993 */
1994double const_func __attribute__((overloadable)) sqrt(double);
1995double2 const_func __attribute__((overloadable)) sqrt(double2);
1996double3 const_func __attribute__((overloadable)) sqrt(double3);
1997double4 const_func __attribute__((overloadable)) sqrt(double4);
1998double8 const_func __attribute__((overloadable)) sqrt(double8);
1999double16 const_func __attribute__((overloadable)) sqrt(double16);
2000float const_func __attribute__((overloadable)) sqrt(float);
2001float2 const_func __attribute__((overloadable)) sqrt(float2);
2002float3 const_func __attribute__((overloadable)) sqrt(float3);
2003float4 const_func __attribute__((overloadable)) sqrt(float4);
2004float8 const_func __attribute__((overloadable)) sqrt(float8);
2005float16 const_func __attribute__((overloadable)) sqrt(float16);
2006//half const_func __attribute__((overloadable)) sqrt(half);
2007//half2 const_func __attribute__((overloadable)) sqrt(half2);
2008//half3 const_func __attribute__((overloadable)) sqrt(half3);
2009//half4 const_func __attribute__((overloadable)) sqrt(half4);
2010//half8 const_func __attribute__((overloadable)) sqrt(half8);
2011//half16 const_func __attribute__((overloadable)) sqrt(half16);
2012
2013/**
2014 * Compute tangent.
2015 */
2016float const_func __attribute__((overloadable)) tan(float);
2017float2 const_func __attribute__((overloadable)) tan(float2);
2018float3 const_func __attribute__((overloadable)) tan(float3);
2019float4 const_func __attribute__((overloadable)) tan(float4);
2020float8 const_func __attribute__((overloadable)) tan(float8);
2021float16 const_func __attribute__((overloadable)) tan(float16);
2022double const_func __attribute__((overloadable)) tan(double);
2023double2 const_func __attribute__((overloadable)) tan(double2);
2024double3 const_func __attribute__((overloadable)) tan(double3);
2025double4 const_func __attribute__((overloadable)) tan(double4);
2026double8 const_func __attribute__((overloadable)) tan(double8);
2027double16 const_func __attribute__((overloadable)) tan(double16);
2028//half const_func __attribute__((overloadable)) tan(half);
2029//half2 const_func __attribute__((overloadable)) tan(half2);
2030//half3 const_func __attribute__((overloadable)) tan(half3);
2031//half4 const_func __attribute__((overloadable)) tan(half4);
2032//half8 const_func __attribute__((overloadable)) tan(half8);
2033//half16 const_func __attribute__((overloadable)) tan(half16);
2034
2035/**
2036 * Compute hyperbolic tangent.
2037 */
2038float const_func __attribute__((overloadable)) tanh(float);
2039float2 const_func __attribute__((overloadable)) tanh(float2);
2040float3 const_func __attribute__((overloadable)) tanh(float3);
2041float4 const_func __attribute__((overloadable)) tanh(float4);
2042float8 const_func __attribute__((overloadable)) tanh(float8);
2043float16 const_func __attribute__((overloadable)) tanh(float16);
2044double const_func __attribute__((overloadable)) tanh(double);
2045double2 const_func __attribute__((overloadable)) tanh(double2);
2046double3 const_func __attribute__((overloadable)) tanh(double3);
2047double4 const_func __attribute__((overloadable)) tanh(double4);
2048double8 const_func __attribute__((overloadable)) tanh(double8);
2049double16 const_func __attribute__((overloadable)) tanh(double16);
2050//half const_func __attribute__((overloadable)) tanh(half);
2051//half2 const_func __attribute__((overloadable)) tanh(half2);
2052//half3 const_func __attribute__((overloadable)) tanh(half3);
2053//half4 const_func __attribute__((overloadable)) tanh(half4);
2054//half8 const_func __attribute__((overloadable)) tanh(half8);
2055//half16 const_func __attribute__((overloadable)) tanh(half16);
2056
2057/**
2058 * Compute tan (PI * x).
2059 */
2060float const_func __attribute__((overloadable)) tanpi(float x);
2061float2 const_func __attribute__((overloadable)) tanpi(float2 x);
2062float3 const_func __attribute__((overloadable)) tanpi(float3 x);
2063float4 const_func __attribute__((overloadable)) tanpi(float4 x);
2064float8 const_func __attribute__((overloadable)) tanpi(float8 x);
2065float16 const_func __attribute__((overloadable)) tanpi(float16 x);
2066double const_func __attribute__((overloadable)) tanpi(double x);
2067double2 const_func __attribute__((overloadable)) tanpi(double2 x);
2068double3 const_func __attribute__((overloadable)) tanpi(double3 x);
2069double4 const_func __attribute__((overloadable)) tanpi(double4 x);
2070double8 const_func __attribute__((overloadable)) tanpi(double8 x);
2071double16 const_func __attribute__((overloadable)) tanpi(double16 x);
2072//half const_func __attribute__((overloadable)) tanpi(half x);
2073//half2 const_func __attribute__((overloadable)) tanpi(half2 x);
2074//half3 const_func __attribute__((overloadable)) tanpi(half3 x);
2075//half4 const_func __attribute__((overloadable)) tanpi(half4 x);
2076//half8 const_func __attribute__((overloadable)) tanpi(half8 x);
2077//half16 const_func __attribute__((overloadable)) tanpi(half16 x);
2078
2079/**
2080 * Compute the gamma function.
2081 */
2082float const_func __attribute__((overloadable)) tgamma(float);
2083float2 const_func __attribute__((overloadable)) tgamma(float2);
2084float3 const_func __attribute__((overloadable)) tgamma(float3);
2085float4 const_func __attribute__((overloadable)) tgamma(float4);
2086float8 const_func __attribute__((overloadable)) tgamma(float8);
2087float16 const_func __attribute__((overloadable)) tgamma(float16);
2088double const_func __attribute__((overloadable)) tgamma(double);
2089double2 const_func __attribute__((overloadable)) tgamma(double2);
2090double3 const_func __attribute__((overloadable)) tgamma(double3);
2091double4 const_func __attribute__((overloadable)) tgamma(double4);
2092double8 const_func __attribute__((overloadable)) tgamma(double8);
2093double16 const_func __attribute__((overloadable)) tgamma(double16);
2094//half const_func __attribute__((overloadable)) tgamma(half);
2095//half2 const_func __attribute__((overloadable)) tgamma(half2);
2096//half3 const_func __attribute__((overloadable)) tgamma(half3);
2097//half4 const_func __attribute__((overloadable)) tgamma(half4);
2098//half8 const_func __attribute__((overloadable)) tgamma(half8);
2099//half16 const_func __attribute__((overloadable)) tgamma(half16);
2100
2101/**
2102 * Round to integral value using the round to zero
2103 * rounding mode.
2104 */
2105float const_func __attribute__((overloadable)) trunc(float);
2106float2 const_func __attribute__((overloadable)) trunc(float2);
2107float3 const_func __attribute__((overloadable)) trunc(float3);
2108float4 const_func __attribute__((overloadable)) trunc(float4);
2109float8 const_func __attribute__((overloadable)) trunc(float8);
2110float16 const_func __attribute__((overloadable)) trunc(float16);
2111double const_func __attribute__((overloadable)) trunc(double);
2112double2 const_func __attribute__((overloadable)) trunc(double2);
2113double3 const_func __attribute__((overloadable)) trunc(double3);
2114double4 const_func __attribute__((overloadable)) trunc(double4);
2115double8 const_func __attribute__((overloadable)) trunc(double8);
2116double16 const_func __attribute__((overloadable)) trunc(double16);
2117//half const_func __attribute__((overloadable)) trunc(half);
2118//half2 const_func __attribute__((overloadable)) trunc(half2);
2119//half3 const_func __attribute__((overloadable)) trunc(half3);
2120//half4 const_func __attribute__((overloadable)) trunc(half4);
2121//half8 const_func __attribute__((overloadable)) trunc(half8);
2122//half16 const_func __attribute__((overloadable)) trunc(half16);
2123
2124/**
2125 * Compute cosine. x must be in the range -2^16 ... +2^16.
2126 */
2127float const_func __attribute__((overloadable)) half_cos(float x);
2128float2 const_func __attribute__((overloadable)) half_cos(float2 x);
2129float3 const_func __attribute__((overloadable)) half_cos(float3 x);
2130float4 const_func __attribute__((overloadable)) half_cos(float4 x);
2131float8 const_func __attribute__((overloadable)) half_cos(float8 x);
2132float16 const_func __attribute__((overloadable)) half_cos(float16 x);
2133
2134/**
2135 * Compute x / y.
2136 */
2137float const_func __attribute__((overloadable)) half_divide(float x, float y);
2138float2 const_func __attribute__((overloadable)) half_divide(float2 x, float2 y);
2139float3 const_func __attribute__((overloadable)) half_divide(float3 x, float3 y);
2140float4 const_func __attribute__((overloadable)) half_divide(float4 x, float4 y);
2141float8 const_func __attribute__((overloadable)) half_divide(float8 x, float8 y);
2142float16 const_func __attribute__((overloadable)) half_divide(float16 x, float16 y);
2143
2144/**
2145 * Compute the base- e exponential of x.
2146 */
2147float const_func __attribute__((overloadable)) half_exp(float x);
2148float2 const_func __attribute__((overloadable)) half_exp(float2 x);
2149float3 const_func __attribute__((overloadable)) half_exp(float3 x);
2150float4 const_func __attribute__((overloadable)) half_exp(float4 x);
2151float8 const_func __attribute__((overloadable)) half_exp(float8 x);
2152float16 const_func __attribute__((overloadable)) half_exp(float16 x);
2153
2154/**
2155 * Compute the base- 2 exponential of x.
2156 */
2157float const_func __attribute__((overloadable)) half_exp2(float x);
2158float2 const_func __attribute__((overloadable)) half_exp2(float2 x);
2159float3 const_func __attribute__((overloadable)) half_exp2(float3 x);
2160float4 const_func __attribute__((overloadable)) half_exp2(float4 x);
2161float8 const_func __attribute__((overloadable)) half_exp2(float8 x);
2162float16 const_func __attribute__((overloadable)) half_exp2(float16 x);
2163
2164/**
2165 * Compute the base- 10 exponential of x.
2166 */
2167float const_func __attribute__((overloadable)) half_exp10(float x);
2168float2 const_func __attribute__((overloadable)) half_exp10(float2 x);
2169float3 const_func __attribute__((overloadable)) half_exp10(float3 x);
2170float4 const_func __attribute__((overloadable)) half_exp10(float4 x);
2171float8 const_func __attribute__((overloadable)) half_exp10(float8 x);
2172float16 const_func __attribute__((overloadable)) half_exp10(float16 x);
2173
2174/**
2175 * Compute natural logarithm.
2176 */
2177float const_func __attribute__((overloadable)) half_log(float x);
2178float2 const_func __attribute__((overloadable)) half_log(float2 x);
2179float3 const_func __attribute__((overloadable)) half_log(float3 x);
2180float4 const_func __attribute__((overloadable)) half_log(float4 x);
2181float8 const_func __attribute__((overloadable)) half_log(float8 x);
2182float16 const_func __attribute__((overloadable)) half_log(float16 x);
2183
2184/**
2185 * Compute a base 2 logarithm.
2186 */
2187float const_func __attribute__((overloadable)) half_log2(float x);
2188float2 const_func __attribute__((overloadable)) half_log2(float2 x);
2189float3 const_func __attribute__((overloadable)) half_log2(float3 x);
2190float4 const_func __attribute__((overloadable)) half_log2(float4 x);
2191float8 const_func __attribute__((overloadable)) half_log2(float8 x);
2192float16 const_func __attribute__((overloadable)) half_log2(float16 x);
2193
2194/**
2195 * Compute a base 10 logarithm.
2196 */
2197float const_func __attribute__((overloadable)) half_log10(float x);
2198float2 const_func __attribute__((overloadable)) half_log10(float2 x);
2199float3 const_func __attribute__((overloadable)) half_log10(float3 x);
2200float4 const_func __attribute__((overloadable)) half_log10(float4 x);
2201float8 const_func __attribute__((overloadable)) half_log10(float8 x);
2202float16 const_func __attribute__((overloadable)) half_log10(float16 x);
2203
2204/**
2205 * Compute x to the power y, where x is >= 0.
2206 */
2207float const_func __attribute__((overloadable)) half_powr(float x, float y);
2208float2 const_func __attribute__((overloadable)) half_powr(float2 x, float2 y);
2209float3 const_func __attribute__((overloadable)) half_powr(float3 x, float3 y);
2210float4 const_func __attribute__((overloadable)) half_powr(float4 x, float4 y);
2211float8 const_func __attribute__((overloadable)) half_powr(float8 x, float8 y);
2212float16 const_func __attribute__((overloadable)) half_powr(float16 x, float16 y);
2213
2214/**
2215 * Compute reciprocal.
2216 */
2217float const_func __attribute__((overloadable)) half_recip(float x);
2218float2 const_func __attribute__((overloadable)) half_recip(float2 x);
2219float3 const_func __attribute__((overloadable)) half_recip(float3 x);
2220float4 const_func __attribute__((overloadable)) half_recip(float4 x);
2221float8 const_func __attribute__((overloadable)) half_recip(float8 x);
2222float16 const_func __attribute__((overloadable)) half_recip(float16 x);
2223
2224/**
2225 * Compute inverse square root.
2226 */
2227float const_func __attribute__((overloadable)) half_rsqrt(float x);
2228float2 const_func __attribute__((overloadable)) half_rsqrt(float2 x);
2229float3 const_func __attribute__((overloadable)) half_rsqrt(float3 x);
2230float4 const_func __attribute__((overloadable)) half_rsqrt(float4 x);
2231float8 const_func __attribute__((overloadable)) half_rsqrt(float8 x);
2232float16 const_func __attribute__((overloadable)) half_rsqrt(float16 x);
2233
2234/**
2235 * Compute sine. x must be in the range -2^16 … +2^16.
2236 */
2237float const_func __attribute__((overloadable)) half_sin(float x);
2238float2 const_func __attribute__((overloadable)) half_sin(float2 x);
2239float3 const_func __attribute__((overloadable)) half_sin(float3 x);
2240float4 const_func __attribute__((overloadable)) half_sin(float4 x);
2241float8 const_func __attribute__((overloadable)) half_sin(float8 x);
2242float16 const_func __attribute__((overloadable)) half_sin(float16 x);
2243
2244/**
2245 * Compute square root.
2246 */
2247float const_func __attribute__((overloadable)) half_sqrt(float x);
2248float2 const_func __attribute__((overloadable)) half_sqrt(float2 x);
2249float3 const_func __attribute__((overloadable)) half_sqrt(float3 x);
2250float4 const_func __attribute__((overloadable)) half_sqrt(float4 x);
2251float8 const_func __attribute__((overloadable)) half_sqrt(float8 x);
2252float16 const_func __attribute__((overloadable)) half_sqrt(float16 x);
2253
2254/**
2255 * Compute tangent. x must be in the range -216 … +216.
2256 */
2257float const_func __attribute__((overloadable)) half_tan(float x);
2258float2 const_func __attribute__((overloadable)) half_tan(float2 x);
2259float3 const_func __attribute__((overloadable)) half_tan(float3 x);
2260float4 const_func __attribute__((overloadable)) half_tan(float4 x);
2261float8 const_func __attribute__((overloadable)) half_tan(float8 x);
2262float16 const_func __attribute__((overloadable)) half_tan(float16 x);
2263
2264/**
2265 * Compute cosine over an implementation-defined range.
2266 * The maximum error is implementation-defined.
2267 */
2268float const_func __attribute__((overloadable)) native_cos(float x);
2269float2 const_func __attribute__((overloadable)) native_cos(float2 x);
2270float3 const_func __attribute__((overloadable)) native_cos(float3 x);
2271float4 const_func __attribute__((overloadable)) native_cos(float4 x);
2272float8 const_func __attribute__((overloadable)) native_cos(float8 x);
2273float16 const_func __attribute__((overloadable)) native_cos(float16 x);
2274
2275// EXTENSION: native double
2276double const_func __attribute__((overloadable)) native_cos(double x);
2277double2 const_func __attribute__((overloadable)) native_cos(double2 x);
2278double3 const_func __attribute__((overloadable)) native_cos(double3 x);
2279double4 const_func __attribute__((overloadable)) native_cos(double4 x);
2280double8 const_func __attribute__((overloadable)) native_cos(double8 x);
2281double16 const_func __attribute__((overloadable)) native_cos(double16 x);
2282
2283/**
2284 * Compute x / y over an implementation-defined range.
2285 * The maximum error is implementation-defined.
2286 */
2287float const_func __attribute__((overloadable)) native_divide(float x, float y);
2288float2 const_func __attribute__((overloadable)) native_divide(float2 x, float2 y);
2289float3 const_func __attribute__((overloadable)) native_divide(float3 x, float3 y);
2290float4 const_func __attribute__((overloadable)) native_divide(float4 x, float4 y);
2291float8 const_func __attribute__((overloadable)) native_divide(float8 x, float8 y);
2292float16 const_func __attribute__((overloadable)) native_divide(float16 x, float16 y);
2293
2294// EXTENSION: native double
2295double const_func __attribute__((overloadable)) native_divide(double x, double y);
2296double2 const_func __attribute__((overloadable)) native_divide(double2 x, double2 y);
2297double3 const_func __attribute__((overloadable)) native_divide(double3 x, double3 y);
2298double4 const_func __attribute__((overloadable)) native_divide(double4 x, double4 y);
2299double8 const_func __attribute__((overloadable)) native_divide(double8 x, double8 y);
2300double16 const_func __attribute__((overloadable)) native_divide(double16 x, double16 y);
2301
2302/**
2303 * Compute the base- e exponential of x over an
2304 * implementation-defined range. The maximum error is
2305 * implementation-defined.
2306 */
2307float const_func __attribute__((overloadable)) native_exp(float x);
2308float2 const_func __attribute__((overloadable)) native_exp(float2 x);
2309float3 const_func __attribute__((overloadable)) native_exp(float3 x);
2310float4 const_func __attribute__((overloadable)) native_exp(float4 x);
2311float8 const_func __attribute__((overloadable)) native_exp(float8 x);
2312float16 const_func __attribute__((overloadable)) native_exp(float16 x);
2313
2314/**
2315 * Compute the base- 2 exponential of x over an
2316 * implementation-defined range. The maximum error is
2317 * implementation-defined.
2318 */
2319float const_func __attribute__((overloadable)) native_exp2(float x);
2320float2 const_func __attribute__((overloadable)) native_exp2(float2 x);
2321float3 const_func __attribute__((overloadable)) native_exp2(float3 x);
2322float4 const_func __attribute__((overloadable)) native_exp2(float4 x);
2323float8 const_func __attribute__((overloadable)) native_exp2(float8 x);
2324float16 const_func __attribute__((overloadable)) native_exp2(float16 x);
2325
2326/**
2327 * Compute the base- 10 exponential of x over an
2328 * implementation-defined range. The maximum error is
2329 * implementation-defined.
2330 */
2331float const_func __attribute__((overloadable)) native_exp10(float x);
2332float2 const_func __attribute__((overloadable)) native_exp10(float2 x);
2333float3 const_func __attribute__((overloadable)) native_exp10(float3 x);
2334float4 const_func __attribute__((overloadable)) native_exp10(float4 x);
2335float8 const_func __attribute__((overloadable)) native_exp10(float8 x);
2336float16 const_func __attribute__((overloadable)) native_exp10(float16 x);
2337
2338/**
2339 * Compute natural logarithm over an implementationdefined
2340 * range. The maximum error is implementation
2341 * defined.
2342 */
2343float const_func __attribute__((overloadable)) native_log(float x);
2344float2 const_func __attribute__((overloadable)) native_log(float2 x);
2345float3 const_func __attribute__((overloadable)) native_log(float3 x);
2346float4 const_func __attribute__((overloadable)) native_log(float4 x);
2347float8 const_func __attribute__((overloadable)) native_log(float8 x);
2348float16 const_func __attribute__((overloadable)) native_log(float16 x);
2349
2350/**
2351 * Compute a base 2 logarithm over an implementationdefined
2352 * range. The maximum error is implementationdefined.
2353 */
2354float const_func __attribute__((overloadable)) native_log2(float x);
2355float2 const_func __attribute__((overloadable)) native_log2(float2 x);
2356float3 const_func __attribute__((overloadable)) native_log2(float3 x);
2357float4 const_func __attribute__((overloadable)) native_log2(float4 x);
2358float8 const_func __attribute__((overloadable)) native_log2(float8 x);
2359float16 const_func __attribute__((overloadable)) native_log2(float16 x);
2360
2361/**
2362 * Compute a base 10 logarithm over an implementationdefined
2363 * range. The maximum error is implementationdefined.
2364 */
2365float const_func __attribute__((overloadable)) native_log10(float x);
2366float2 const_func __attribute__((overloadable)) native_log10(float2 x);
2367float3 const_func __attribute__((overloadable)) native_log10(float3 x);
2368float4 const_func __attribute__((overloadable)) native_log10(float4 x);
2369float8 const_func __attribute__((overloadable)) native_log10(float8 x);
2370float16 const_func __attribute__((overloadable)) native_log10(float16 x);
2371
2372/**
2373 * Compute x to the power y, where x is >= 0. The range of
2374 * x and y are implementation-defined. The maximum error
2375 * is implementation-defined.
2376 */
2377float const_func __attribute__((overloadable)) native_powr(float x, float y);
2378float2 const_func __attribute__((overloadable)) native_powr(float2 x, float2 y);
2379float3 const_func __attribute__((overloadable)) native_powr(float3 x, float3 y);
2380float4 const_func __attribute__((overloadable)) native_powr(float4 x, float4 y);
2381float8 const_func __attribute__((overloadable)) native_powr(float8 x, float8 y);
2382float16 const_func __attribute__((overloadable)) native_powr(float16 x, float16 y);
2383
2384/**
2385 * Compute reciprocal over an implementation-defined
2386 * range. The maximum error is implementation-defined.
2387 */
2388float const_func __attribute__((overloadable)) native_recip(float x);
2389float2 const_func __attribute__((overloadable)) native_recip(float2 x);
2390float3 const_func __attribute__((overloadable)) native_recip(float3 x);
2391float4 const_func __attribute__((overloadable)) native_recip(float4 x);
2392float8 const_func __attribute__((overloadable)) native_recip(float8 x);
2393float16 const_func __attribute__((overloadable)) native_recip(float16 x);
2394
2395/**
2396 * Compute inverse square root over an implementationdefined
2397 * range. The maximum error is implementationdefined.
2398 */
2399float const_func __attribute__((overloadable)) native_rsqrt(float x);
2400float2 const_func __attribute__((overloadable)) native_rsqrt(float2 x);
2401float3 const_func __attribute__((overloadable)) native_rsqrt(float3 x);
2402float4 const_func __attribute__((overloadable)) native_rsqrt(float4 x);
2403float8 const_func __attribute__((overloadable)) native_rsqrt(float8 x);
2404float16 const_func __attribute__((overloadable)) native_rsqrt(float16 x);
2405
2406/**
2407 * Compute sine over an implementation-defined range.
2408 * The maximum error is implementation-defined.
2409 */
2410float const_func __attribute__((overloadable)) native_sin(float x);
2411float2 const_func __attribute__((overloadable)) native_sin(float2 x);
2412float3 const_func __attribute__((overloadable)) native_sin(float3 x);
2413float4 const_func __attribute__((overloadable)) native_sin(float4 x);
2414float8 const_func __attribute__((overloadable)) native_sin(float8 x);
2415float16 const_func __attribute__((overloadable)) native_sin(float16 x);
2416
2417/**
2418 * Compute square root over an implementation-defined
2419 * range. The maximum error is implementation-defined.
2420 */
2421float const_func __attribute__((overloadable)) native_sqrt(float x);
2422float2 const_func __attribute__((overloadable)) native_sqrt(float2 x);
2423float3 const_func __attribute__((overloadable)) native_sqrt(float3 x);
2424float4 const_func __attribute__((overloadable)) native_sqrt(float4 x);
2425float8 const_func __attribute__((overloadable)) native_sqrt(float8 x);
2426float16 const_func __attribute__((overloadable)) native_sqrt(float16 x);
2427
2428/**
2429 * Compute tangent over an implementation-defined range.
2430 * The maximum error is implementation-defined.
2431 */
2432float const_func __attribute__((overloadable)) native_tan(float x);
2433float2 const_func __attribute__((overloadable)) native_tan(float2 x);
2434float3 const_func __attribute__((overloadable)) native_tan(float3 x);
2435float4 const_func __attribute__((overloadable)) native_tan(float4 x);
2436float8 const_func __attribute__((overloadable)) native_tan(float8 x);
2437float16 const_func __attribute__((overloadable)) native_tan(float16 x);
2438
2439// Integer functions:
2440
2441/**
2442 * Returns | x |.
2443 */
2444uchar const_func __attribute__((overloadable)) abs(char x);
2445uchar const_func __attribute__((overloadable)) abs(uchar x);
2446uchar2 const_func __attribute__((overloadable)) abs(char2 x);
2447uchar2 const_func __attribute__((overloadable)) abs(uchar2 x);
2448uchar3 const_func __attribute__((overloadable)) abs(char3 x);
2449uchar3 const_func __attribute__((overloadable)) abs(uchar3 x);
2450uchar4 const_func __attribute__((overloadable)) abs(char4 x);
2451uchar4 const_func __attribute__((overloadable)) abs(uchar4 x);
2452uchar8 const_func __attribute__((overloadable)) abs(char8 x);
2453uchar8 const_func __attribute__((overloadable)) abs(uchar8 x);
2454uchar16 const_func __attribute__((overloadable)) abs(char16 x);
2455uchar16 const_func __attribute__((overloadable)) abs(uchar16 x);
2456ushort const_func __attribute__((overloadable)) abs(short x);
2457ushort const_func __attribute__((overloadable)) abs(ushort x);
2458ushort2 const_func __attribute__((overloadable)) abs(short2 x);
2459ushort2 const_func __attribute__((overloadable)) abs(ushort2 x);
2460ushort3 const_func __attribute__((overloadable)) abs(short3 x);
2461ushort3 const_func __attribute__((overloadable)) abs(ushort3 x);
2462ushort4 const_func __attribute__((overloadable)) abs(short4 x);
2463ushort4 const_func __attribute__((overloadable)) abs(ushort4 x);
2464ushort8 const_func __attribute__((overloadable)) abs(short8 x);
2465ushort8 const_func __attribute__((overloadable)) abs(ushort8 x);
2466ushort16 const_func __attribute__((overloadable)) abs(short16 x);
2467ushort16 const_func __attribute__((overloadable)) abs(ushort16 x);
2468uint const_func __attribute__((overloadable)) abs(int x);
2469uint const_func __attribute__((overloadable)) abs(uint x);
2470uint2 const_func __attribute__((overloadable)) abs(int2 x);
2471uint2 const_func __attribute__((overloadable)) abs(uint2 x);
2472uint3 const_func __attribute__((overloadable)) abs(int3 x);
2473uint3 const_func __attribute__((overloadable)) abs(uint3 x);
2474uint4 const_func __attribute__((overloadable)) abs(int4 x);
2475uint4 const_func __attribute__((overloadable)) abs(uint4 x);
2476uint8 const_func __attribute__((overloadable)) abs(int8 x);
2477uint8 const_func __attribute__((overloadable)) abs(uint8 x);
2478uint16 const_func __attribute__((overloadable)) abs(int16 x);
2479uint16 const_func __attribute__((overloadable)) abs(uint16 x);
2480ulong const_func __attribute__((overloadable)) abs(long x);
2481ulong const_func __attribute__((overloadable)) abs(ulong x);
2482ulong2 const_func __attribute__((overloadable)) abs(long2 x);
2483ulong2 const_func __attribute__((overloadable)) abs(ulong2 x);
2484ulong3 const_func __attribute__((overloadable)) abs(long3 x);
2485ulong3 const_func __attribute__((overloadable)) abs(ulong3 x);
2486ulong4 const_func __attribute__((overloadable)) abs(long4 x);
2487ulong4 const_func __attribute__((overloadable)) abs(ulong4 x);
2488ulong8 const_func __attribute__((overloadable)) abs(long8 x);
2489ulong8 const_func __attribute__((overloadable)) abs(ulong8 x);
2490ulong16 const_func __attribute__((overloadable)) abs(long16 x);
2491ulong16 const_func __attribute__((overloadable)) abs(ulong16 x);
2492
2493/**
2494 * Returns | x – y | without modulo overflow.
2495 */
2496uchar const_func __attribute__((overloadable)) abs_diff(char x, char y);
2497uchar const_func __attribute__((overloadable)) abs_diff(uchar x, uchar y);
2498uchar2 const_func __attribute__((overloadable)) abs_diff(char2 x, char2 y);
2499uchar2 const_func __attribute__((overloadable)) abs_diff(uchar2 x, uchar2 y);
2500uchar3 const_func __attribute__((overloadable)) abs_diff(char3 x, char3 y);
2501uchar3 const_func __attribute__((overloadable)) abs_diff(uchar3 x, uchar3 y);
2502uchar4 const_func __attribute__((overloadable)) abs_diff(char4 x, char4 y);
2503uchar4 const_func __attribute__((overloadable)) abs_diff(uchar4 x, uchar4 y);
2504uchar8 const_func __attribute__((overloadable)) abs_diff(char8 x, char8 y);
2505uchar8 const_func __attribute__((overloadable)) abs_diff(uchar8 x, uchar8 y);
2506uchar16 const_func __attribute__((overloadable)) abs_diff(char16 x, char16 y);
2507uchar16 const_func __attribute__((overloadable)) abs_diff(uchar16 x, uchar16 y);
2508ushort const_func __attribute__((overloadable)) abs_diff(short x, short y);
2509ushort const_func __attribute__((overloadable)) abs_diff(ushort x, ushort y);
2510ushort2 const_func __attribute__((overloadable)) abs_diff(short2 x, short2 y);
2511ushort2 const_func __attribute__((overloadable)) abs_diff(ushort2 x, ushort2 y);
2512ushort3 const_func __attribute__((overloadable)) abs_diff(short3 x, short3 y);
2513ushort3 const_func __attribute__((overloadable)) abs_diff(ushort3 x, ushort3 y);
2514ushort4 const_func __attribute__((overloadable)) abs_diff(short4 x, short4 y);
2515ushort4 const_func __attribute__((overloadable)) abs_diff(ushort4 x, ushort4 y);
2516ushort8 const_func __attribute__((overloadable)) abs_diff(short8 x, short8 y);
2517ushort8 const_func __attribute__((overloadable)) abs_diff(ushort8 x, ushort8 y);
2518ushort16 const_func __attribute__((overloadable)) abs_diff(short16 x, short16 y);
2519ushort16 const_func __attribute__((overloadable)) abs_diff(ushort16 x, ushort16 y);
2520uint const_func __attribute__((overloadable)) abs_diff(int x, int y);
2521uint const_func __attribute__((overloadable)) abs_diff(uint x, uint y);
2522uint2 const_func __attribute__((overloadable)) abs_diff(int2 x, int2 y);
2523uint2 const_func __attribute__((overloadable)) abs_diff(uint2 x, uint2 y);
2524uint3 const_func __attribute__((overloadable)) abs_diff(int3 x, int3 y);
2525uint3 const_func __attribute__((overloadable)) abs_diff(uint3 x, uint3 y);
2526uint4 const_func __attribute__((overloadable)) abs_diff(int4 x, int4 y);
2527uint4 const_func __attribute__((overloadable)) abs_diff(uint4 x, uint4 y);
2528uint8 const_func __attribute__((overloadable)) abs_diff(int8 x, int8 y);
2529uint8 const_func __attribute__((overloadable)) abs_diff(uint8 x, uint8 y);
2530uint16 const_func __attribute__((overloadable)) abs_diff(int16 x, int16 y);
2531uint16 const_func __attribute__((overloadable)) abs_diff(uint16 x, uint16 y);
2532ulong const_func __attribute__((overloadable)) abs_diff(long x, long y);
2533ulong const_func __attribute__((overloadable)) abs_diff(ulong x, ulong y);
2534ulong2 const_func __attribute__((overloadable)) abs_diff(long2 x, long2 y);
2535ulong2 const_func __attribute__((overloadable)) abs_diff(ulong2 x, ulong2 y);
2536ulong3 const_func __attribute__((overloadable)) abs_diff(long3 x, long3 y);
2537ulong3 const_func __attribute__((overloadable)) abs_diff(ulong3 x, ulong3 y);
2538ulong4 const_func __attribute__((overloadable)) abs_diff(long4 x, long4 y);
2539ulong4 const_func __attribute__((overloadable)) abs_diff(ulong4 x, ulong4 y);
2540ulong8 const_func __attribute__((overloadable)) abs_diff(long8 x, long8 y);
2541ulong8 const_func __attribute__((overloadable)) abs_diff(ulong8 x, ulong8 y);
2542ulong16 const_func __attribute__((overloadable)) abs_diff(long16 x, long16 y);
2543ulong16 const_func __attribute__((overloadable)) abs_diff(ulong16 x, ulong16 y);
2544
2545/**
2546 * Returns x + y and saturates the result.
2547 */
2548char const_func __attribute__((overloadable)) add_sat(char x, char y);
2549uchar const_func __attribute__((overloadable)) add_sat(uchar x, uchar y);
2550char2 const_func __attribute__((overloadable)) add_sat(char2 x, char2 y);
2551uchar2 const_func __attribute__((overloadable)) add_sat(uchar2 x, uchar2 y);
2552char3 const_func __attribute__((overloadable)) add_sat(char3 x, char3 y);
2553uchar3 const_func __attribute__((overloadable)) add_sat(uchar3 x, uchar3 y);
2554char4 const_func __attribute__((overloadable)) add_sat(char4 x, char4 y);
2555uchar4 const_func __attribute__((overloadable)) add_sat(uchar4 x, uchar4 y);
2556char8 const_func __attribute__((overloadable)) add_sat(char8 x, char8 y);
2557uchar8 const_func __attribute__((overloadable)) add_sat(uchar8 x, uchar8 y);
2558char16 const_func __attribute__((overloadable)) add_sat(char16 x, char16 y);
2559uchar16 const_func __attribute__((overloadable)) add_sat(uchar16 x, uchar16 y);
2560short const_func __attribute__((overloadable)) add_sat(short x, short y);
2561ushort const_func __attribute__((overloadable)) add_sat(ushort x, ushort y);
2562short2 const_func __attribute__((overloadable)) add_sat(short2 x, short2 y);
2563ushort2 const_func __attribute__((overloadable)) add_sat(ushort2 x, ushort2 y);
2564short3 const_func __attribute__((overloadable)) add_sat(short3 x, short3 y);
2565ushort3 const_func __attribute__((overloadable)) add_sat(ushort3 x, ushort3 y);
2566short4 const_func __attribute__((overloadable)) add_sat(short4 x, short4 y);
2567ushort4 const_func __attribute__((overloadable)) add_sat(ushort4 x, ushort4 y);
2568short8 const_func __attribute__((overloadable)) add_sat(short8 x, short8 y);
2569ushort8 const_func __attribute__((overloadable)) add_sat(ushort8 x, ushort8 y);
2570short16 const_func __attribute__((overloadable)) add_sat(short16 x, short16 y);
2571ushort16 const_func __attribute__((overloadable)) add_sat(ushort16 x, ushort16 y);
2572int const_func __attribute__((overloadable)) add_sat(int x, int y);
2573uint const_func __attribute__((overloadable)) add_sat(uint x, uint y);
2574int2 const_func __attribute__((overloadable)) add_sat(int2 x, int2 y);
2575uint2 const_func __attribute__((overloadable)) add_sat(uint2 x, uint2 y);
2576int3 const_func __attribute__((overloadable)) add_sat(int3 x, int3 y);
2577uint3 const_func __attribute__((overloadable)) add_sat(uint3 x, uint3 y);
2578int4 const_func __attribute__((overloadable)) add_sat(int4 x, int4 y);
2579uint4 const_func __attribute__((overloadable)) add_sat(uint4 x, uint4 y);
2580int8 const_func __attribute__((overloadable)) add_sat(int8 x, int8 y);
2581uint8 const_func __attribute__((overloadable)) add_sat(uint8 x, uint8 y);
2582int16 const_func __attribute__((overloadable)) add_sat(int16 x, int16 y);
2583uint16 const_func __attribute__((overloadable)) add_sat(uint16 x, uint16 y);
2584long const_func __attribute__((overloadable)) add_sat(long x, long y);
2585ulong const_func __attribute__((overloadable)) add_sat(ulong x, ulong y);
2586long2 const_func __attribute__((overloadable)) add_sat(long2 x, long2 y);
2587ulong2 const_func __attribute__((overloadable)) add_sat(ulong2 x, ulong2 y);
2588long3 const_func __attribute__((overloadable)) add_sat(long3 x, long3 y);
2589ulong3 const_func __attribute__((overloadable)) add_sat(ulong3 x, ulong3 y);
2590long4 const_func __attribute__((overloadable)) add_sat(long4 x, long4 y);
2591ulong4 const_func __attribute__((overloadable)) add_sat(ulong4 x, ulong4 y);
2592long8 const_func __attribute__((overloadable)) add_sat(long8 x, long8 y);
2593ulong8 const_func __attribute__((overloadable)) add_sat(ulong8 x, ulong8 y);
2594long16 const_func __attribute__((overloadable)) add_sat(long16 x, long16 y);
2595ulong16 const_func __attribute__((overloadable)) add_sat(ulong16 x, ulong16 y);
2596
2597/**
2598 * Returns (x + y) >> 1. The intermediate sum does
2599 * not modulo overflow.
2600 */
2601char const_func __attribute__((overloadable)) hadd(char x, char y);
2602uchar const_func __attribute__((overloadable)) hadd(uchar x, uchar y);
2603char2 const_func __attribute__((overloadable)) hadd(char2 x, char2 y);
2604uchar2 const_func __attribute__((overloadable)) hadd(uchar2 x, uchar2 y);
2605char3 const_func __attribute__((overloadable)) hadd(char3 x, char3 y);
2606uchar3 const_func __attribute__((overloadable)) hadd(uchar3 x, uchar3 y);
2607char4 const_func __attribute__((overloadable)) hadd(char4 x, char4 y);
2608uchar4 const_func __attribute__((overloadable)) hadd(uchar4 x, uchar4 y);
2609char8 const_func __attribute__((overloadable)) hadd(char8 x, char8 y);
2610uchar8 const_func __attribute__((overloadable)) hadd(uchar8 x, uchar8 y);
2611char16 const_func __attribute__((overloadable)) hadd(char16 x, char16 y);
2612uchar16 const_func __attribute__((overloadable)) hadd(uchar16 x, uchar16 y);
2613short const_func __attribute__((overloadable)) hadd(short x, short y);
2614ushort const_func __attribute__((overloadable)) hadd(ushort x, ushort y);
2615short2 const_func __attribute__((overloadable)) hadd(short2 x, short2 y);
2616ushort2 const_func __attribute__((overloadable)) hadd(ushort2 x, ushort2 y);
2617short3 const_func __attribute__((overloadable)) hadd(short3 x, short3 y);
2618ushort3 const_func __attribute__((overloadable)) hadd(ushort3 x, ushort3 y);
2619short4 const_func __attribute__((overloadable)) hadd(short4 x, short4 y);
2620ushort4 const_func __attribute__((overloadable)) hadd(ushort4 x, ushort4 y);
2621short8 const_func __attribute__((overloadable)) hadd(short8 x, short8 y);
2622ushort8 const_func __attribute__((overloadable)) hadd(ushort8 x, ushort8 y);
2623short16 const_func __attribute__((overloadable)) hadd(short16 x, short16 y);
2624ushort16 const_func __attribute__((overloadable)) hadd(ushort16 x, ushort16 y);
2625int const_func __attribute__((overloadable)) hadd(int x, int y);
2626uint const_func __attribute__((overloadable)) hadd(uint x, uint y);
2627int2 const_func __attribute__((overloadable)) hadd(int2 x, int2 y);
2628uint2 const_func __attribute__((overloadable)) hadd(uint2 x, uint2 y);
2629int3 const_func __attribute__((overloadable)) hadd(int3 x, int3 y);
2630uint3 const_func __attribute__((overloadable)) hadd(uint3 x, uint3 y);
2631int4 const_func __attribute__((overloadable)) hadd(int4 x, int4 y);
2632uint4 const_func __attribute__((overloadable)) hadd(uint4 x, uint4 y);
2633int8 const_func __attribute__((overloadable)) hadd(int8 x, int8 y);
2634uint8 const_func __attribute__((overloadable)) hadd(uint8 x, uint8 y);
2635int16 const_func __attribute__((overloadable)) hadd(int16 x, int16 y);
2636uint16 const_func __attribute__((overloadable)) hadd(uint16 x, uint16 y);
2637long const_func __attribute__((overloadable)) hadd(long x, long y);
2638ulong const_func __attribute__((overloadable)) hadd(ulong x, ulong y);
2639long2 const_func __attribute__((overloadable)) hadd(long2 x, long2 y);
2640ulong2 const_func __attribute__((overloadable)) hadd(ulong2 x, ulong2 y);
2641long3 const_func __attribute__((overloadable)) hadd(long3 x, long3 y);
2642ulong3 const_func __attribute__((overloadable)) hadd(ulong3 x, ulong3 y);
2643long4 const_func __attribute__((overloadable)) hadd(long4 x, long4 y);
2644ulong4 const_func __attribute__((overloadable)) hadd(ulong4 x, ulong4 y);
2645long8 const_func __attribute__((overloadable)) hadd(long8 x, long8 y);
2646ulong8 const_func __attribute__((overloadable)) hadd(ulong8 x, ulong8 y);
2647long16 const_func __attribute__((overloadable)) hadd(long16 x, long16 y);
2648ulong16 const_func __attribute__((overloadable)) hadd(ulong16 x, ulong16 y);
2649
2650/**
2651 * Returns (x + y + 1) >> 1. The intermediate sum
2652 * does not modulo overflow.
2653 */
2654char const_func __attribute__((overloadable)) rhadd(char x, char y);
2655uchar const_func __attribute__((overloadable)) rhadd(uchar x, uchar y);
2656char2 const_func __attribute__((overloadable)) rhadd(char2 x, char2 y);
2657uchar2 const_func __attribute__((overloadable)) rhadd(uchar2 x, uchar2 y);
2658char3 const_func __attribute__((overloadable)) rhadd(char3 x, char3 y);
2659uchar3 const_func __attribute__((overloadable)) rhadd(uchar3 x, uchar3 y);
2660char4 const_func __attribute__((overloadable)) rhadd(char4 x, char4 y);
2661uchar4 const_func __attribute__((overloadable)) rhadd(uchar4 x, uchar4 y);
2662char8 const_func __attribute__((overloadable)) rhadd(char8 x, char8 y);
2663uchar8 const_func __attribute__((overloadable)) rhadd(uchar8 x, uchar8 y);
2664char16 const_func __attribute__((overloadable)) rhadd(char16 x, char16 y);
2665uchar16 const_func __attribute__((overloadable)) rhadd(uchar16 x, uchar16 y);
2666short const_func __attribute__((overloadable)) rhadd(short x, short y);
2667ushort const_func __attribute__((overloadable)) rhadd(ushort x, ushort y);
2668short2 const_func __attribute__((overloadable)) rhadd(short2 x, short2 y);
2669ushort2 const_func __attribute__((overloadable)) rhadd(ushort2 x, ushort2 y);
2670short3 const_func __attribute__((overloadable)) rhadd(short3 x, short3 y);
2671ushort3 const_func __attribute__((overloadable)) rhadd(ushort3 x, ushort3 y);
2672short4 const_func __attribute__((overloadable)) rhadd(short4 x, short4 y);
2673ushort4 const_func __attribute__((overloadable)) rhadd(ushort4 x, ushort4 y);
2674short8 const_func __attribute__((overloadable)) rhadd(short8 x, short8 y);
2675ushort8 const_func __attribute__((overloadable)) rhadd(ushort8 x, ushort8 y);
2676short16 const_func __attribute__((overloadable)) rhadd(short16 x, short16 y);
2677ushort16 const_func __attribute__((overloadable)) rhadd(ushort16 x, ushort16 y);
2678int const_func __attribute__((overloadable)) rhadd(int x, int y);
2679uint const_func __attribute__((overloadable)) rhadd(uint x, uint y);
2680int2 const_func __attribute__((overloadable)) rhadd(int2 x, int2 y);
2681uint2 const_func __attribute__((overloadable)) rhadd(uint2 x, uint2 y);
2682int3 const_func __attribute__((overloadable)) rhadd(int3 x, int3 y);
2683uint3 const_func __attribute__((overloadable)) rhadd(uint3 x, uint3 y);
2684int4 const_func __attribute__((overloadable)) rhadd(int4 x, int4 y);
2685uint4 const_func __attribute__((overloadable)) rhadd(uint4 x, uint4 y);
2686int8 const_func __attribute__((overloadable)) rhadd(int8 x, int8 y);
2687uint8 const_func __attribute__((overloadable)) rhadd(uint8 x, uint8 y);
2688int16 const_func __attribute__((overloadable)) rhadd(int16 x, int16 y);
2689uint16 const_func __attribute__((overloadable)) rhadd(uint16 x, uint16 y);
2690long const_func __attribute__((overloadable)) rhadd(long x, long y);
2691ulong const_func __attribute__((overloadable)) rhadd(ulong x, ulong y);
2692long2 const_func __attribute__((overloadable)) rhadd(long2 x, long2 y);
2693ulong2 const_func __attribute__((overloadable)) rhadd(ulong2 x, ulong2 y);
2694long3 const_func __attribute__((overloadable)) rhadd(long3 x, long3 y);
2695ulong3 const_func __attribute__((overloadable)) rhadd(ulong3 x, ulong3 y);
2696long4 const_func __attribute__((overloadable)) rhadd(long4 x, long4 y);
2697ulong4 const_func __attribute__((overloadable)) rhadd(ulong4 x, ulong4 y);
2698long8 const_func __attribute__((overloadable)) rhadd(long8 x, long8 y);
2699ulong8 const_func __attribute__((overloadable)) rhadd(ulong8 x, ulong8 y);
2700long16 const_func __attribute__((overloadable)) rhadd(long16 x, long16 y);
2701ulong16 const_func __attribute__((overloadable)) rhadd(ulong16 x, ulong16 y);
2702
2703/**
2704 * Returns min(max(x, minval), maxval).
2705 * Results are undefined if minval > maxval.
2706 */
2707char const_func __attribute__((overloadable)) clamp(char x, char minval, char maxval);
2708uchar const_func __attribute__((overloadable)) clamp(uchar x, uchar minval, uchar maxval);
2709char2 const_func __attribute__((overloadable)) clamp(char2 x, char2 minval, char2 maxval);
2710uchar2 const_func __attribute__((overloadable)) clamp(uchar2 x, uchar2 minval, uchar2 maxval);
2711char3 const_func __attribute__((overloadable)) clamp(char3 x, char3 minval, char3 maxval);
2712uchar3 const_func __attribute__((overloadable)) clamp(uchar3 x, uchar3 minval, uchar3 maxval);
2713char4 const_func __attribute__((overloadable)) clamp(char4 x, char4 minval, char4 maxval);
2714uchar4 const_func __attribute__((overloadable)) clamp(uchar4 x, uchar4 minval, uchar4 maxval);
2715char8 const_func __attribute__((overloadable)) clamp(char8 x, char8 minval, char8 maxval);
2716uchar8 const_func __attribute__((overloadable)) clamp(uchar8 x, uchar8 minval, uchar8 maxval);
2717char16 const_func __attribute__((overloadable)) clamp(char16 x, char16 minval, char16 maxval);
2718uchar16 const_func __attribute__((overloadable)) clamp(uchar16 x, uchar16 minval, uchar16 maxval);
2719short const_func __attribute__((overloadable)) clamp(short x, short minval, short maxval);
2721short2 const_func __attribute__((overloadable)) clamp(short2 x, short2 minval, short2 maxval);
2722ushort2 const_func __attribute__((overloadable)) clamp(ushort2 x, ushort2 minval, ushort2 maxval);
2723short3 const_func __attribute__((overloadable)) clamp(short3 x, short3 minval, short3 maxval);
2724ushort3 const_func __attribute__((overloadable)) clamp(ushort3 x, ushort3 minval, ushort3 maxval);
2725short4 const_func __attribute__((overloadable)) clamp(short4 x, short4 minval, short4 maxval);
2726ushort4 const_func __attribute__((overloadable)) clamp(ushort4 x, ushort4 minval, ushort4 maxval);
2727short8 const_func __attribute__((overloadable)) clamp(short8 x, short8 minval, short8 maxval);
2728ushort8 const_func __attribute__((overloadable)) clamp(ushort8 x, ushort8 minval, ushort8 maxval);
2729short16 const_func __attribute__((overloadable)) clamp(short16 x, short16 minval, short16 maxval);
2730ushort16 const_func __attribute__((overloadable)) clamp(ushort16 x, ushort16 minval, ushort16 maxval);
2731int const_func __attribute__((overloadable)) clamp(int x, int minval, int maxval);
2732uint const_func __attribute__((overloadable)) clamp(uint x, uint minval, uint maxval);
2733int2 const_func __attribute__((overloadable)) clamp(int2 x, int2 minval, int2 maxval);
2734uint2 const_func __attribute__((overloadable)) clamp(uint2 x, uint2 minval, uint2 maxval);
2735int3 const_func __attribute__((overloadable)) clamp(int3 x, int3 minval, int3 maxval);
2736uint3 const_func __attribute__((overloadable)) clamp(uint3 x, uint3 minval, uint3 maxval);
2737int4 const_func __attribute__((overloadable)) clamp(int4 x, int4 minval, int4 maxval);
2738uint4 const_func __attribute__((overloadable)) clamp(uint4 x, uint4 minval, uint4 maxval);
2739int8 const_func __attribute__((overloadable)) clamp(int8 x, int8 minval, int8 maxval);
2740uint8 const_func __attribute__((overloadable)) clamp(uint8 x, uint8 minval, uint8 maxval);
2741int16 const_func __attribute__((overloadable)) clamp(int16 x, int16 minval, int16 maxval);
2742uint16 const_func __attribute__((overloadable)) clamp(uint16 x, uint16 minval, uint16 maxval);
2743long const_func __attribute__((overloadable)) clamp(long x, long minval, long maxval);
2744ulong const_func __attribute__((overloadable)) clamp(ulong x, ulong minval, ulong maxval);
2745long2 const_func __attribute__((overloadable)) clamp(long2 x, long2 minval, long2 maxval);
2746ulong2 const_func __attribute__((overloadable)) clamp(ulong2 x, ulong2 minval, ulong2 maxval);
2747long3 const_func __attribute__((overloadable)) clamp(long3 x, long3 minval, long3 maxval);
2748ulong3 const_func __attribute__((overloadable)) clamp(ulong3 x, ulong3 minval, ulong3 maxval);
2749long4 const_func __attribute__((overloadable)) clamp(long4 x, long4 minval, long4 maxval);
2750ulong4 const_func __attribute__((overloadable)) clamp(ulong4 x, ulong4 minval, ulong4 maxval);
2751long8 const_func __attribute__((overloadable)) clamp(long8 x, long8 minval, long8 maxval);
2752ulong8 const_func __attribute__((overloadable)) clamp(ulong8 x, ulong8 minval, ulong8 maxval);
2753long16 const_func __attribute__((overloadable)) clamp(long16 x, long16 minval, long16 maxval);
2754ulong16 const_func __attribute__((overloadable)) clamp(ulong16 x, ulong16 minval, ulong16 maxval);
2755char const_func __attribute__((overloadable)) clamp(char x, char minval, char maxval);
2756uchar const_func __attribute__((overloadable)) clamp(uchar x, uchar minval, uchar maxval);
2757char2 const_func __attribute__((overloadable)) clamp(char2 x, char minval, char maxval);
2758uchar2 const_func __attribute__((overloadable)) clamp(uchar2 x, uchar minval, uchar maxval);
2759char3 const_func __attribute__((overloadable)) clamp(char3 x, char minval, char maxval);
2760uchar3 const_func __attribute__((overloadable)) clamp(uchar3 x, uchar minval, uchar maxval);
2761char4 const_func __attribute__((overloadable)) clamp(char4 x, char minval, char maxval);
2762uchar4 const_func __attribute__((overloadable)) clamp(uchar4 x, uchar minval, uchar maxval);
2763char8 const_func __attribute__((overloadable)) clamp(char8 x, char minval, char maxval);
2764uchar8 const_func __attribute__((overloadable)) clamp(uchar8 x, uchar minval, uchar maxval);
2765char16 const_func __attribute__((overloadable)) clamp(char16 x, char minval, char maxval);
2766uchar16 const_func __attribute__((overloadable)) clamp(uchar16 x, uchar minval, uchar maxval);
2767short const_func __attribute__((overloadable)) clamp(short x, short minval, short maxval);
2769short2 const_func __attribute__((overloadable)) clamp(short2 x, short minval, short maxval);
2770ushort2 const_func __attribute__((overloadable)) clamp(ushort2 x, ushort minval, ushort maxval);
2771short3 const_func __attribute__((overloadable)) clamp(short3 x, short minval, short maxval);
2772ushort3 const_func __attribute__((overloadable)) clamp(ushort3 x, ushort minval, ushort maxval);
2773short4 const_func __attribute__((overloadable)) clamp(short4 x, short minval, short maxval);
2774ushort4 const_func __attribute__((overloadable)) clamp(ushort4 x, ushort minval, ushort maxval);
2775short8 const_func __attribute__((overloadable)) clamp(short8 x, short minval, short maxval);
2776ushort8 const_func __attribute__((overloadable)) clamp(ushort8 x, ushort minval, ushort maxval);
2777short16 const_func __attribute__((overloadable)) clamp(short16 x, short minval, short maxval);
2778ushort16 const_func __attribute__((overloadable)) clamp(ushort16 x, ushort minval, ushort maxval);
2779int const_func __attribute__((overloadable)) clamp(int x, int minval, int maxval);
2780uint const_func __attribute__((overloadable)) clamp(uint x, uint minval, uint maxval);
2781int2 const_func __attribute__((overloadable)) clamp(int2 x, int minval, int maxval);
2782uint2 const_func __attribute__((overloadable)) clamp(uint2 x, uint minval, uint maxval);
2783int3 const_func __attribute__((overloadable)) clamp(int3 x, int minval, int maxval);
2784uint3 const_func __attribute__((overloadable)) clamp(uint3 x, uint minval, uint maxval);
2785int4 const_func __attribute__((overloadable)) clamp(int4 x, int minval, int maxval);
2786uint4 const_func __attribute__((overloadable)) clamp(uint4 x, uint minval, uint maxval);
2787int8 const_func __attribute__((overloadable)) clamp(int8 x, int minval, int maxval);
2788uint8 const_func __attribute__((overloadable)) clamp(uint8 x, uint minval, uint maxval);
2789int16 const_func __attribute__((overloadable)) clamp(int16 x, int minval, int maxval);
2790uint16 const_func __attribute__((overloadable)) clamp(uint16 x, uint minval, uint maxval);
2791long const_func __attribute__((overloadable)) clamp(long x, long minval, long maxval);
2792ulong const_func __attribute__((overloadable)) clamp(ulong x, ulong minval, ulong maxval);
2793long2 const_func __attribute__((overloadable)) clamp(long2 x, long minval, long maxval);
2794ulong2 const_func __attribute__((overloadable)) clamp(ulong2 x, ulong minval, ulong maxval);
2795long3 const_func __attribute__((overloadable)) clamp(long3 x, long minval, long maxval);
2796ulong3 const_func __attribute__((overloadable)) clamp(ulong3 x, ulong minval, ulong maxval);
2797long4 const_func __attribute__((overloadable)) clamp(long4 x, long minval, long maxval);
2798ulong4 const_func __attribute__((overloadable)) clamp(ulong4 x, ulong minval, ulong maxval);
2799long8 const_func __attribute__((overloadable)) clamp(long8 x, long minval, long maxval);
2800ulong8 const_func __attribute__((overloadable)) clamp(ulong8 x, ulong minval, ulong maxval);
2801long16 const_func __attribute__((overloadable)) clamp(long16 x, long minval, long maxval);
2802ulong16 const_func __attribute__((overloadable)) clamp(ulong16 x, ulong minval, ulong maxval);
2803
2804/**
2805 * Returns the number of leading 0-bits in x, starting
2806 * at the most significant bit position.
2807 */
2808char const_func __attribute__((overloadable)) clz(char x);
2809uchar const_func __attribute__((overloadable)) clz(uchar x);
2810char2 const_func __attribute__((overloadable)) clz(char2 x);
2811uchar2 const_func __attribute__((overloadable)) clz(uchar2 x);
2812char3 const_func __attribute__((overloadable)) clz(char3 x);
2813uchar3 const_func __attribute__((overloadable)) clz(uchar3 x);
2814char4 const_func __attribute__((overloadable)) clz(char4 x);
2815uchar4 const_func __attribute__((overloadable)) clz(uchar4 x);
2816char8 const_func __attribute__((overloadable)) clz(char8 x);
2817uchar8 const_func __attribute__((overloadable)) clz(uchar8 x);
2818char16 const_func __attribute__((overloadable)) clz(char16 x);
2819uchar16 const_func __attribute__((overloadable)) clz(uchar16 x);
2820short const_func __attribute__((overloadable)) clz(short x);
2821ushort const_func __attribute__((overloadable)) clz(ushort x);
2822short2 const_func __attribute__((overloadable)) clz(short2 x);
2823ushort2 const_func __attribute__((overloadable)) clz(ushort2 x);
2824short3 const_func __attribute__((overloadable)) clz(short3 x);
2825ushort3 const_func __attribute__((overloadable)) clz(ushort3 x);
2826short4 const_func __attribute__((overloadable)) clz(short4 x);
2827ushort4 const_func __attribute__((overloadable)) clz(ushort4 x);
2828short8 const_func __attribute__((overloadable)) clz(short8 x);
2829ushort8 const_func __attribute__((overloadable)) clz(ushort8 x);
2830short16 const_func __attribute__((overloadable)) clz(short16 x);
2831ushort16 const_func __attribute__((overloadable)) clz(ushort16 x);
2832int const_func __attribute__((overloadable)) clz(int x);
2833uint const_func __attribute__((overloadable)) clz(uint x);
2834int2 const_func __attribute__((overloadable)) clz(int2 x);
2835uint2 const_func __attribute__((overloadable)) clz(uint2 x);
2836int3 const_func __attribute__((overloadable)) clz(int3 x);
2837uint3 const_func __attribute__((overloadable)) clz(uint3 x);
2838int4 const_func __attribute__((overloadable)) clz(int4 x);
2839uint4 const_func __attribute__((overloadable)) clz(uint4 x);
2840int8 const_func __attribute__((overloadable)) clz(int8 x);
2841uint8 const_func __attribute__((overloadable)) clz(uint8 x);
2842int16 const_func __attribute__((overloadable)) clz(int16 x);
2843uint16 const_func __attribute__((overloadable)) clz(uint16 x);
2844long const_func __attribute__((overloadable)) clz(long x);
2845ulong const_func __attribute__((overloadable)) clz(ulong x);
2846long2 const_func __attribute__((overloadable)) clz(long2 x);
2847ulong2 const_func __attribute__((overloadable)) clz(ulong2 x);
2848long3 const_func __attribute__((overloadable)) clz(long3 x);
2849ulong3 const_func __attribute__((overloadable)) clz(ulong3 x);
2850long4 const_func __attribute__((overloadable)) clz(long4 x);
2851ulong4 const_func __attribute__((overloadable)) clz(ulong4 x);
2852long8 const_func __attribute__((overloadable)) clz(long8 x);
2853ulong8 const_func __attribute__((overloadable)) clz(ulong8 x);
2854long16 const_func __attribute__((overloadable)) clz(long16 x);
2855ulong16 const_func __attribute__((overloadable)) clz(ulong16 x);
2856
2857/**
2858 * Returns mul_hi(a, b) + c.
2859 */
2860char const_func __attribute__((overloadable)) mad_hi(char a, char b, char c);
2861uchar const_func __attribute__((overloadable)) mad_hi(uchar a, uchar b, uchar c);
2862char2 const_func __attribute__((overloadable)) mad_hi(char2 a, char2 b, char2 c);
2863uchar2 const_func __attribute__((overloadable)) mad_hi(uchar2 a, uchar2 b, uchar2 c);
2864char3 const_func __attribute__((overloadable)) mad_hi(char3 a, char3 b, char3 c);
2865uchar3 const_func __attribute__((overloadable)) mad_hi(uchar3 a, uchar3 b, uchar3 c);
2866char4 const_func __attribute__((overloadable)) mad_hi(char4 a, char4 b, char4 c);
2867uchar4 const_func __attribute__((overloadable)) mad_hi(uchar4 a, uchar4 b, uchar4 c);
2868char8 const_func __attribute__((overloadable)) mad_hi(char8 a, char8 b, char8 c);
2869uchar8 const_func __attribute__((overloadable)) mad_hi(uchar8 a, uchar8 b, uchar8 c);
2870char16 const_func __attribute__((overloadable)) mad_hi(char16 a, char16 b, char16 c);
2871uchar16 const_func __attribute__((overloadable)) mad_hi(uchar16 a, uchar16 b, uchar16 c);
2872short const_func __attribute__((overloadable)) mad_hi(short a, short b, short c);
2873ushort const_func __attribute__((overloadable)) mad_hi(ushort a, ushort b, ushort c);
2874short2 const_func __attribute__((overloadable)) mad_hi(short2 a, short2 b, short2 c);
2875ushort2 const_func __attribute__((overloadable)) mad_hi(ushort2 a, ushort2 b, ushort2 c);
2876short3 const_func __attribute__((overloadable)) mad_hi(short3 a, short3 b, short3 c);
2877ushort3 const_func __attribute__((overloadable)) mad_hi(ushort3 a, ushort3 b, ushort3 c);
2878short4 const_func __attribute__((overloadable)) mad_hi(short4 a, short4 b, short4 c);
2879ushort4 const_func __attribute__((overloadable)) mad_hi(ushort4 a, ushort4 b, ushort4 c);
2880short8 const_func __attribute__((overloadable)) mad_hi(short8 a, short8 b, short8 c);
2881ushort8 const_func __attribute__((overloadable)) mad_hi(ushort8 a, ushort8 b, ushort8 c);
2882short16 const_func __attribute__((overloadable)) mad_hi(short16 a, short16 b, short16 c);
2883ushort16 const_func __attribute__((overloadable)) mad_hi(ushort16 a, ushort16 b, ushort16 c);
2884int const_func __attribute__((overloadable)) mad_hi(int a, int b, int c);
2885uint const_func __attribute__((overloadable)) mad_hi(uint a, uint b, uint c);
2886int2 const_func __attribute__((overloadable)) mad_hi(int2 a, int2 b, int2 c);
2887uint2 const_func __attribute__((overloadable)) mad_hi(uint2 a, uint2 b, uint2 c);
2888int3 const_func __attribute__((overloadable)) mad_hi(int3 a, int3 b, int3 c);
2889uint3 const_func __attribute__((overloadable)) mad_hi(uint3 a, uint3 b, uint3 c);
2890int4 const_func __attribute__((overloadable)) mad_hi(int4 a, int4 b, int4 c);
2891uint4 const_func __attribute__((overloadable)) mad_hi(uint4 a, uint4 b, uint4 c);
2892int8 const_func __attribute__((overloadable)) mad_hi(int8 a, int8 b, int8 c);
2893uint8 const_func __attribute__((overloadable)) mad_hi(uint8 a, uint8 b, uint8 c);
2894int16 const_func __attribute__((overloadable)) mad_hi(int16 a, int16 b, int16 c);
2895uint16 const_func __attribute__((overloadable)) mad_hi(uint16 a, uint16 b, uint16 c);
2896long const_func __attribute__((overloadable)) mad_hi(long a, long b, long c);
2897ulong const_func __attribute__((overloadable)) mad_hi(ulong a, ulong b, ulong c);
2898long2 const_func __attribute__((overloadable)) mad_hi(long2 a, long2 b, long2 c);
2899ulong2 const_func __attribute__((overloadable)) mad_hi(ulong2 a, ulong2 b, ulong2 c);
2900long3 const_func __attribute__((overloadable)) mad_hi(long3 a, long3 b, long3 c);
2901ulong3 const_func __attribute__((overloadable)) mad_hi(ulong3 a, ulong3 b, ulong3 c);
2902long4 const_func __attribute__((overloadable)) mad_hi(long4 a, long4 b, long4 c);
2903ulong4 const_func __attribute__((overloadable)) mad_hi(ulong4 a, ulong4 b, ulong4 c);
2904long8 const_func __attribute__((overloadable)) mad_hi(long8 a, long8 b, long8 c);
2905ulong8 const_func __attribute__((overloadable)) mad_hi(ulong8 a, ulong8 b, ulong8 c);
2906long16 const_func __attribute__((overloadable)) mad_hi(long16 a, long16 b, long16 c);
2907ulong16 const_func __attribute__((overloadable)) mad_hi(ulong16 a, ulong16 b, ulong16 c);
2908
2909/**
2910 * Returns a * b + c and saturates the result.
2911 */
2912char const_func __attribute__((overloadable)) mad_sat(char a, char b, char c);
2913uchar const_func __attribute__((overloadable)) mad_sat(uchar a, uchar b, uchar c);
2914char2 const_func __attribute__((overloadable)) mad_sat(char2 a, char2 b, char2 c);
2915uchar2 const_func __attribute__((overloadable)) mad_sat(uchar2 a, uchar2 b, uchar2 c);
2916char3 const_func __attribute__((overloadable)) mad_sat(char3 a, char3 b, char3 c);
2917uchar3 const_func __attribute__((overloadable)) mad_sat(uchar3 a, uchar3 b, uchar3 c);
2918char4 const_func __attribute__((overloadable)) mad_sat(char4 a, char4 b, char4 c);
2919uchar4 const_func __attribute__((overloadable)) mad_sat(uchar4 a, uchar4 b, uchar4 c);
2920char8 const_func __attribute__((overloadable)) mad_sat(char8 a, char8 b, char8 c);
2921uchar8 const_func __attribute__((overloadable)) mad_sat(uchar8 a, uchar8 b, uchar8 c);
2922char16 const_func __attribute__((overloadable)) mad_sat(char16 a, char16 b, char16 c);
2923uchar16 const_func __attribute__((overloadable)) mad_sat(uchar16 a, uchar16 b, uchar16 c);
2924short const_func __attribute__((overloadable)) mad_sat(short a, short b, short c);
2925ushort const_func __attribute__((overloadable)) mad_sat(ushort a, ushort b, ushort c);
2926short2 const_func __attribute__((overloadable)) mad_sat(short2 a, short2 b, short2 c);
2927ushort2 const_func __attribute__((overloadable)) mad_sat(ushort2 a, ushort2 b, ushort2 c);
2928short3 const_func __attribute__((overloadable)) mad_sat(short3 a, short3 b, short3 c);
2929ushort3 const_func __attribute__((overloadable)) mad_sat(ushort3 a, ushort3 b, ushort3 c);
2930short4 const_func __attribute__((overloadable)) mad_sat(short4 a, short4 b, short4 c);
2931ushort4 const_func __attribute__((overloadable)) mad_sat(ushort4 a, ushort4 b, ushort4 c);
2932short8 const_func __attribute__((overloadable)) mad_sat(short8 a, short8 b, short8 c);
2933ushort8 const_func __attribute__((overloadable)) mad_sat(ushort8 a, ushort8 b, ushort8 c);
2934short16 const_func __attribute__((overloadable)) mad_sat(short16 a, short16 b, short16 c);
2935ushort16 const_func __attribute__((overloadable)) mad_sat(ushort16 a, ushort16 b, ushort16 c);
2936int const_func __attribute__((overloadable)) mad_sat(int a, int b, int c);
2937uint const_func __attribute__((overloadable)) mad_sat(uint a, uint b, uint c);
2938int2 const_func __attribute__((overloadable)) mad_sat(int2 a, int2 b, int2 c);
2939uint2 const_func __attribute__((overloadable)) mad_sat(uint2 a, uint2 b, uint2 c);
2940int3 const_func __attribute__((overloadable)) mad_sat(int3 a, int3 b, int3 c);
2941uint3 const_func __attribute__((overloadable)) mad_sat(uint3 a, uint3 b, uint3 c);
2942int4 const_func __attribute__((overloadable)) mad_sat(int4 a, int4 b, int4 c);
2943uint4 const_func __attribute__((overloadable)) mad_sat(uint4 a, uint4 b, uint4 c);
2944int8 const_func __attribute__((overloadable)) mad_sat(int8 a, int8 b, int8 c);
2945uint8 const_func __attribute__((overloadable)) mad_sat(uint8 a, uint8 b, uint8 c);
2946int16 const_func __attribute__((overloadable)) mad_sat(int16 a, int16 b, int16 c);
2947uint16 const_func __attribute__((overloadable)) mad_sat(uint16 a, uint16 b, uint16 c);
2948long const_func __attribute__((overloadable)) mad_sat(long a, long b, long c);
2949ulong const_func __attribute__((overloadable)) mad_sat(ulong a, ulong b, ulong c);
2950long2 const_func __attribute__((overloadable)) mad_sat(long2 a, long2 b, long2 c);
2951ulong2 const_func __attribute__((overloadable)) mad_sat(ulong2 a, ulong2 b, ulong2 c);
2952long3 const_func __attribute__((overloadable)) mad_sat(long3 a, long3 b, long3 c);
2953ulong3 const_func __attribute__((overloadable)) mad_sat(ulong3 a, ulong3 b, ulong3 c);
2954long4 const_func __attribute__((overloadable)) mad_sat(long4 a, long4 b, long4 c);
2955ulong4 const_func __attribute__((overloadable)) mad_sat(ulong4 a, ulong4 b, ulong4 c);
2956long8 const_func __attribute__((overloadable)) mad_sat(long8 a, long8 b, long8 c);
2957ulong8 const_func __attribute__((overloadable)) mad_sat(ulong8 a, ulong8 b, ulong8 c);
2958long16 const_func __attribute__((overloadable)) mad_sat(long16 a, long16 b, long16 c);
2959ulong16 const_func __attribute__((overloadable)) mad_sat(ulong16 a, ulong16 b, ulong16 c);
2960
2961/**
2962 * Returns y if x < y, otherwise it returns x.
2963 */
2964char const_func __attribute__((overloadable)) max(char x, char y);
2965uchar const_func __attribute__((overloadable)) max(uchar x, uchar y);
2966char2 const_func __attribute__((overloadable)) max(char2 x, char2 y);
2967uchar2 const_func __attribute__((overloadable)) max(uchar2 x, uchar2 y);
2968char3 const_func __attribute__((overloadable)) max(char3 x, char3 y);
2969uchar3 const_func __attribute__((overloadable)) max(uchar3 x, uchar3 y);
2970char4 const_func __attribute__((overloadable)) max(char4 x, char4 y);
2971uchar4 const_func __attribute__((overloadable)) max(uchar4 x, uchar4 y);
2972char8 const_func __attribute__((overloadable)) max(char8 x, char8 y);
2973uchar8 const_func __attribute__((overloadable)) max(uchar8 x, uchar8 y);
2974char16 const_func __attribute__((overloadable)) max(char16 x, char16 y);
2975uchar16 const_func __attribute__((overloadable)) max(uchar16 x, uchar16 y);
2976short const_func __attribute__((overloadable)) max(short x, short y);
2977ushort const_func __attribute__((overloadable)) max(ushort x, ushort y);
2978short2 const_func __attribute__((overloadable)) max(short2 x, short2 y);
2979ushort2 const_func __attribute__((overloadable)) max(ushort2 x, ushort2 y);
2980short3 const_func __attribute__((overloadable)) max(short3 x, short3 y);
2981ushort3 const_func __attribute__((overloadable)) max(ushort3 x, ushort3 y);
2982short4 const_func __attribute__((overloadable)) max(short4 x, short4 y);
2983ushort4 const_func __attribute__((overloadable)) max(ushort4 x, ushort4 y);
2984short8 const_func __attribute__((overloadable)) max(short8 x, short8 y);
2985ushort8 const_func __attribute__((overloadable)) max(ushort8 x, ushort8 y);
2986short16 const_func __attribute__((overloadable)) max(short16 x, short16 y);
2987ushort16 const_func __attribute__((overloadable)) max(ushort16 x, ushort16 y);
2988int const_func __attribute__((overloadable)) max(int x, int y);
2989uint const_func __attribute__((overloadable)) max(uint x, uint y);
2990int2 const_func __attribute__((overloadable)) max(int2 x, int2 y);
2991uint2 const_func __attribute__((overloadable)) max(uint2 x, uint2 y);
2992int3 const_func __attribute__((overloadable)) max(int3 x, int3 y);
2993uint3 const_func __attribute__((overloadable)) max(uint3 x, uint3 y);
2994int4 const_func __attribute__((overloadable)) max(int4 x, int4 y);
2995uint4 const_func __attribute__((overloadable)) max(uint4 x, uint4 y);
2996int8 const_func __attribute__((overloadable)) max(int8 x, int8 y);
2997uint8 const_func __attribute__((overloadable)) max(uint8 x, uint8 y);
2998int16 const_func __attribute__((overloadable)) max(int16 x, int16 y);
2999uint16 const_func __attribute__((overloadable)) max(uint16 x, uint16 y);
3000long const_func __attribute__((overloadable)) max(long x, long y);
3001ulong const_func __attribute__((overloadable)) max(ulong x, ulong y);
3002long2 const_func __attribute__((overloadable)) max(long2 x, long2 y);
3003ulong2 const_func __attribute__((overloadable)) max(ulong2 x, ulong2 y);
3004long3 const_func __attribute__((overloadable)) max(long3 x, long3 y);
3005ulong3 const_func __attribute__((overloadable)) max(ulong3 x, ulong3 y);
3006long4 const_func __attribute__((overloadable)) max(long4 x, long4 y);
3007ulong4 const_func __attribute__((overloadable)) max(ulong4 x, ulong4 y);
3008long8 const_func __attribute__((overloadable)) max(long8 x, long8 y);
3009ulong8 const_func __attribute__((overloadable)) max(ulong8 x, ulong8 y);
3010long16 const_func __attribute__((overloadable)) max(long16 x, long16 y);
3011ulong16 const_func __attribute__((overloadable)) max(ulong16 x, ulong16 y);
3012char const_func __attribute__((overloadable)) max(char x, char y);
3013uchar const_func __attribute__((overloadable)) max(uchar x, uchar y);
3014char2 const_func __attribute__((overloadable)) max(char2 x, char y);
3015uchar2 const_func __attribute__((overloadable)) max(uchar2 x, uchar y);
3016char3 const_func __attribute__((overloadable)) max(char3 x, char y);
3017uchar3 const_func __attribute__((overloadable)) max(uchar3 x, uchar y);
3018char4 const_func __attribute__((overloadable)) max(char4 x, char y);
3019uchar4 const_func __attribute__((overloadable)) max(uchar4 x, uchar y);
3020char8 const_func __attribute__((overloadable)) max(char8 x, char y);
3021uchar8 const_func __attribute__((overloadable)) max(uchar8 x, uchar y);
3022char16 const_func __attribute__((overloadable)) max(char16 x, char y);
3023uchar16 const_func __attribute__((overloadable)) max(uchar16 x, uchar y);
3024short const_func __attribute__((overloadable)) max(short x, short y);
3025ushort const_func __attribute__((overloadable)) max(ushort x, ushort y);
3026short2 const_func __attribute__((overloadable)) max(short2 x, short y);
3027ushort2 const_func __attribute__((overloadable)) max(ushort2 x, ushort y);
3028short3 const_func __attribute__((overloadable)) max(short3 x, short y);
3029ushort3 const_func __attribute__((overloadable)) max(ushort3 x, ushort y);
3030short4 const_func __attribute__((overloadable)) max(short4 x, short y);
3031ushort4 const_func __attribute__((overloadable)) max(ushort4 x, ushort y);
3032short8 const_func __attribute__((overloadable)) max(short8 x, short y);
3033ushort8 const_func __attribute__((overloadable)) max(ushort8 x, ushort y);
3034short16 const_func __attribute__((overloadable)) max(short16 x, short y);
3035ushort16 const_func __attribute__((overloadable)) max(ushort16 x, ushort y);
3036int const_func __attribute__((overloadable)) max(int x, int y);
3037uint const_func __attribute__((overloadable)) max(uint x, uint y);
3038int2 const_func __attribute__((overloadable)) max(int2 x, int y);
3039uint2 const_func __attribute__((overloadable)) max(uint2 x, uint y);
3040int3 const_func __attribute__((overloadable)) max(int3 x, int y);
3041uint3 const_func __attribute__((overloadable)) max(uint3 x, uint y);
3042int4 const_func __attribute__((overloadable)) max(int4 x, int y);
3043uint4 const_func __attribute__((overloadable)) max(uint4 x, uint y);
3044int8 const_func __attribute__((overloadable)) max(int8 x, int y);
3045uint8 const_func __attribute__((overloadable)) max(uint8 x, uint y);
3046int16 const_func __attribute__((overloadable)) max(int16 x, int y);
3047uint16 const_func __attribute__((overloadable)) max(uint16 x, uint y);
3048long const_func __attribute__((overloadable)) max(long x, long y);
3049ulong const_func __attribute__((overloadable)) max(ulong x, ulong y);
3050long2 const_func __attribute__((overloadable)) max(long2 x, long y);
3051ulong2 const_func __attribute__((overloadable)) max(ulong2 x, ulong y);
3052long3 const_func __attribute__((overloadable)) max(long3 x, long y);
3053ulong3 const_func __attribute__((overloadable)) max(ulong3 x, ulong y);
3054long4 const_func __attribute__((overloadable)) max(long4 x, long y);
3055ulong4 const_func __attribute__((overloadable)) max(ulong4 x, ulong y);
3056long8 const_func __attribute__((overloadable)) max(long8 x, long y);
3057ulong8 const_func __attribute__((overloadable)) max(ulong8 x, ulong y);
3058long16 const_func __attribute__((overloadable)) max(long16 x, long y);
3059ulong16 const_func __attribute__((overloadable)) max(ulong16 x, ulong y);
3060
3061/**
3062 * Returns y if y < x, otherwise it returns x.
3063 */
3064char const_func __attribute__((overloadable)) min(char x, char y);
3065uchar const_func __attribute__((overloadable)) min(uchar x, uchar y);
3066char2 const_func __attribute__((overloadable)) min(char2 x, char2 y);
3067uchar2 const_func __attribute__((overloadable)) min(uchar2 x, uchar2 y);
3068char3 const_func __attribute__((overloadable)) min(char3 x, char3 y);
3069uchar3 const_func __attribute__((overloadable)) min(uchar3 x, uchar3 y);
3070char4 const_func __attribute__((overloadable)) min(char4 x, char4 y);
3071uchar4 const_func __attribute__((overloadable)) min(uchar4 x, uchar4 y);
3072char8 const_func __attribute__((overloadable)) min(char8 x, char8 y);
3073uchar8 const_func __attribute__((overloadable)) min(uchar8 x, uchar8 y);
3074char16 const_func __attribute__((overloadable)) min(char16 x, char16 y);
3075uchar16 const_func __attribute__((overloadable)) min(uchar16 x, uchar16 y);
3076short const_func __attribute__((overloadable)) min(short x, short y);
3077ushort const_func __attribute__((overloadable)) min(ushort x, ushort y);
3078short2 const_func __attribute__((overloadable)) min(short2 x, short2 y);
3079ushort2 const_func __attribute__((overloadable)) min(ushort2 x, ushort2 y);
3080short3 const_func __attribute__((overloadable)) min(short3 x, short3 y);
3081ushort3 const_func __attribute__((overloadable)) min(ushort3 x, ushort3 y);
3082short4 const_func __attribute__((overloadable)) min(short4 x, short4 y);
3083ushort4 const_func __attribute__((overloadable)) min(ushort4 x, ushort4 y);
3084short8 const_func __attribute__((overloadable)) min(short8 x, short8 y);
3085ushort8 const_func __attribute__((overloadable)) min(ushort8 x, ushort8 y);
3086short16 const_func __attribute__((overloadable)) min(short16 x, short16 y);
3087ushort16 const_func __attribute__((overloadable)) min(ushort16 x, ushort16 y);
3088int const_func __attribute__((overloadable)) min(int x, int y);
3089uint const_func __attribute__((overloadable)) min(uint x, uint y);
3090int2 const_func __attribute__((overloadable)) min(int2 x, int2 y);
3091uint2 const_func __attribute__((overloadable)) min(uint2 x, uint2 y);
3092int3 const_func __attribute__((overloadable)) min(int3 x, int3 y);
3093uint3 const_func __attribute__((overloadable)) min(uint3 x, uint3 y);
3094int4 const_func __attribute__((overloadable)) min(int4 x, int4 y);
3095uint4 const_func __attribute__((overloadable)) min(uint4 x, uint4 y);
3096int8 const_func __attribute__((overloadable)) min(int8 x, int8 y);
3097uint8 const_func __attribute__((overloadable)) min(uint8 x, uint8 y);
3098int16 const_func __attribute__((overloadable)) min(int16 x, int16 y);
3099uint16 const_func __attribute__((overloadable)) min(uint16 x, uint16 y);
3100long const_func __attribute__((overloadable)) min(long x, long y);
3101ulong const_func __attribute__((overloadable)) min(ulong x, ulong y);
3102long2 const_func __attribute__((overloadable)) min(long2 x, long2 y);
3103ulong2 const_func __attribute__((overloadable)) min(ulong2 x, ulong2 y);
3104long3 const_func __attribute__((overloadable)) min(long3 x, long3 y);
3105ulong3 const_func __attribute__((overloadable)) min(ulong3 x, ulong3 y);
3106long4 const_func __attribute__((overloadable)) min(long4 x, long4 y);
3107ulong4 const_func __attribute__((overloadable)) min(ulong4 x, ulong4 y);
3108long8 const_func __attribute__((overloadable)) min(long8 x, long8 y);
3109ulong8 const_func __attribute__((overloadable)) min(ulong8 x, ulong8 y);
3110long16 const_func __attribute__((overloadable)) min(long16 x, long16 y);
3111ulong16 const_func __attribute__((overloadable)) min(ulong16 x, ulong16 y);
3112char const_func __attribute__((overloadable)) min(char x, char y);
3113uchar const_func __attribute__((overloadable)) min(uchar x, uchar y);
3114char2 const_func __attribute__((overloadable)) min(char2 x, char y);
3115uchar2 const_func __attribute__((overloadable)) min(uchar2 x, uchar y);
3116char3 const_func __attribute__((overloadable)) min(char3 x, char y);
3117uchar3 const_func __attribute__((overloadable)) min(uchar3 x, uchar y);
3118char4 const_func __attribute__((overloadable)) min(char4 x, char y);
3119uchar4 const_func __attribute__((overloadable)) min(uchar4 x, uchar y);
3120char8 const_func __attribute__((overloadable)) min(char8 x, char y);
3121uchar8 const_func __attribute__((overloadable)) min(uchar8 x, uchar y);
3122char16 const_func __attribute__((overloadable)) min(char16 x, char y);
3123uchar16 const_func __attribute__((overloadable)) min(uchar16 x, uchar y);
3124short const_func __attribute__((overloadable)) min(short x, short y);
3125ushort const_func __attribute__((overloadable)) min(ushort x, ushort y);
3126short2 const_func __attribute__((overloadable)) min(short2 x, short y);
3127ushort2 const_func __attribute__((overloadable)) min(ushort2 x, ushort y);
3128short3 const_func __attribute__((overloadable)) min(short3 x, short y);
3129ushort3 const_func __attribute__((overloadable)) min(ushort3 x, ushort y);
3130short4 const_func __attribute__((overloadable)) min(short4 x, short y);
3131ushort4 const_func __attribute__((overloadable)) min(ushort4 x, ushort y);
3132short8 const_func __attribute__((overloadable)) min(short8 x, short y);
3133ushort8 const_func __attribute__((overloadable)) min(ushort8 x, ushort y);
3134short16 const_func __attribute__((overloadable)) min(short16 x, short y);
3135ushort16 const_func __attribute__((overloadable)) min(ushort16 x, ushort y);
3136int const_func __attribute__((overloadable)) min(int x, int y);
3137uint const_func __attribute__((overloadable)) min(uint x, uint y);
3138int2 const_func __attribute__((overloadable)) min(int2 x, int y);
3139uint2 const_func __attribute__((overloadable)) min(uint2 x, uint y);
3140int3 const_func __attribute__((overloadable)) min(int3 x, int y);
3141uint3 const_func __attribute__((overloadable)) min(uint3 x, uint y);
3142int4 const_func __attribute__((overloadable)) min(int4 x, int y);
3143uint4 const_func __attribute__((overloadable)) min(uint4 x, uint y);
3144int8 const_func __attribute__((overloadable)) min(int8 x, int y);
3145uint8 const_func __attribute__((overloadable)) min(uint8 x, uint y);
3146int16 const_func __attribute__((overloadable)) min(int16 x, int y);
3147uint16 const_func __attribute__((overloadable)) min(uint16 x, uint y);
3148long const_func __attribute__((overloadable)) min(long x, long y);
3149ulong const_func __attribute__((overloadable)) min(ulong x, ulong y);
3150long2 const_func __attribute__((overloadable)) min(long2 x, long y);
3151ulong2 const_func __attribute__((overloadable)) min(ulong2 x, ulong y);
3152long3 const_func __attribute__((overloadable)) min(long3 x, long y);
3153ulong3 const_func __attribute__((overloadable)) min(ulong3 x, ulong y);
3154long4 const_func __attribute__((overloadable)) min(long4 x, long y);
3155ulong4 const_func __attribute__((overloadable)) min(ulong4 x, ulong y);
3156long8 const_func __attribute__((overloadable)) min(long8 x, long y);
3157ulong8 const_func __attribute__((overloadable)) min(ulong8 x, ulong y);
3158long16 const_func __attribute__((overloadable)) min(long16 x, long y);
3159ulong16 const_func __attribute__((overloadable)) min(ulong16 x, ulong y);
3160
3161/**
3162 * Computes x * y and returns the high half of the
3163 * product of x and y.
3164 */
3165char const_func __attribute__((overloadable)) mul_hi(char x, char y);
3166uchar const_func __attribute__((overloadable)) mul_hi(uchar x, uchar y);
3167char2 const_func __attribute__((overloadable)) mul_hi(char2 x, char2 y);
3168uchar2 const_func __attribute__((overloadable)) mul_hi(uchar2 x, uchar2 y);
3169char3 const_func __attribute__((overloadable)) mul_hi(char3 x, char3 y);
3170uchar3 const_func __attribute__((overloadable)) mul_hi(uchar3 x, uchar3 y);
3171char4 const_func __attribute__((overloadable)) mul_hi(char4 x, char4 y);
3172uchar4 const_func __attribute__((overloadable)) mul_hi(uchar4 x, uchar4 y);
3173char8 const_func __attribute__((overloadable)) mul_hi(char8 x, char8 y);
3174uchar8 const_func __attribute__((overloadable)) mul_hi(uchar8 x, uchar8 y);
3175char16 const_func __attribute__((overloadable)) mul_hi(char16 x, char16 y);
3176uchar16 const_func __attribute__((overloadable)) mul_hi(uchar16 x, uchar16 y);
3177short const_func __attribute__((overloadable)) mul_hi(short x, short y);
3178ushort const_func __attribute__((overloadable)) mul_hi(ushort x, ushort y);
3179short2 const_func __attribute__((overloadable)) mul_hi(short2 x, short2 y);
3180ushort2 const_func __attribute__((overloadable)) mul_hi(ushort2 x, ushort2 y);
3181short3 const_func __attribute__((overloadable)) mul_hi(short3 x, short3 y);
3182ushort3 const_func __attribute__((overloadable)) mul_hi(ushort3 x, ushort3 y);
3183short4 const_func __attribute__((overloadable)) mul_hi(short4 x, short4 y);
3184ushort4 const_func __attribute__((overloadable)) mul_hi(ushort4 x, ushort4 y);
3185short8 const_func __attribute__((overloadable)) mul_hi(short8 x, short8 y);
3186ushort8 const_func __attribute__((overloadable)) mul_hi(ushort8 x, ushort8 y);
3187short16 const_func __attribute__((overloadable)) mul_hi(short16 x, short16 y);
3188ushort16 const_func __attribute__((overloadable)) mul_hi(ushort16 x, ushort16 y);
3189int const_func __attribute__((overloadable)) mul_hi(int x, int y);
3190uint const_func __attribute__((overloadable)) mul_hi(uint x, uint y);
3191int2 const_func __attribute__((overloadable)) mul_hi(int2 x, int2 y);
3192uint2 const_func __attribute__((overloadable)) mul_hi(uint2 x, uint2 y);
3193int3 const_func __attribute__((overloadable)) mul_hi(int3 x, int3 y);
3194uint3 const_func __attribute__((overloadable)) mul_hi(uint3 x, uint3 y);
3195int4 const_func __attribute__((overloadable)) mul_hi(int4 x, int4 y);
3196uint4 const_func __attribute__((overloadable)) mul_hi(uint4 x, uint4 y);
3197int8 const_func __attribute__((overloadable)) mul_hi(int8 x, int8 y);
3198uint8 const_func __attribute__((overloadable)) mul_hi(uint8 x, uint8 y);
3199int16 const_func __attribute__((overloadable)) mul_hi(int16 x, int16 y);
3200uint16 const_func __attribute__((overloadable)) mul_hi(uint16 x, uint16 y);
3201long const_func __attribute__((overloadable)) mul_hi(long x, long y);
3202ulong const_func __attribute__((overloadable)) mul_hi(ulong x, ulong y);
3203long2 const_func __attribute__((overloadable)) mul_hi(long2 x, long2 y);
3204ulong2 const_func __attribute__((overloadable)) mul_hi(ulong2 x, ulong2 y);
3205long3 const_func __attribute__((overloadable)) mul_hi(long3 x, long3 y);
3206ulong3 const_func __attribute__((overloadable)) mul_hi(ulong3 x, ulong3 y);
3207long4 const_func __attribute__((overloadable)) mul_hi(long4 x, long4 y);
3208ulong4 const_func __attribute__((overloadable)) mul_hi(ulong4 x, ulong4 y);
3209long8 const_func __attribute__((overloadable)) mul_hi(long8 x, long8 y);
3210ulong8 const_func __attribute__((overloadable)) mul_hi(ulong8 x, ulong8 y);
3211long16 const_func __attribute__((overloadable)) mul_hi(long16 x, long16 y);
3212ulong16 const_func __attribute__((overloadable)) mul_hi(ulong16 x, ulong16 y);
3213
3214/**
3215 * For each element in v, the bits are shifted left by
3216 * the number of bits given by the corresponding
3217 * element in i (subject to usual shift modulo rules
3218 * described in section 6.3). Bits shifted off the left
3219 * side of the element are shifted back in from the
3220 * right.
3221 */
3222char const_func __attribute__((overloadable)) rotate(char v, char i);
3223uchar const_func __attribute__((overloadable)) rotate(uchar v, uchar i);
3224char2 const_func __attribute__((overloadable)) rotate(char2 v, char2 i);
3225uchar2 const_func __attribute__((overloadable)) rotate(uchar2 v, uchar2 i);
3226char3 const_func __attribute__((overloadable)) rotate(char3 v, char3 i);
3227uchar3 const_func __attribute__((overloadable)) rotate(uchar3 v, uchar3 i);
3228char4 const_func __attribute__((overloadable)) rotate(char4 v, char4 i);
3229uchar4 const_func __attribute__((overloadable)) rotate(uchar4 v, uchar4 i);
3230char8 const_func __attribute__((overloadable)) rotate(char8 v, char8 i);
3231uchar8 const_func __attribute__((overloadable)) rotate(uchar8 v, uchar8 i);
3232char16 const_func __attribute__((overloadable)) rotate(char16 v, char16 i);
3233uchar16 const_func __attribute__((overloadable)) rotate(uchar16 v, uchar16 i);
3234short const_func __attribute__((overloadable)) rotate(short v, short i);
3235ushort const_func __attribute__((overloadable)) rotate(ushort v, ushort i);
3236short2 const_func __attribute__((overloadable)) rotate(short2 v, short2 i);
3237ushort2 const_func __attribute__((overloadable)) rotate(ushort2 v, ushort2 i);
3238short3 const_func __attribute__((overloadable)) rotate(short3 v, short3 i);
3239ushort3 const_func __attribute__((overloadable)) rotate(ushort3 v, ushort3 i);
3240short4 const_func __attribute__((overloadable)) rotate(short4 v, short4 i);
3241ushort4 const_func __attribute__((overloadable)) rotate(ushort4 v, ushort4 i);
3242short8 const_func __attribute__((overloadable)) rotate(short8 v, short8 i);
3243ushort8 const_func __attribute__((overloadable)) rotate(ushort8 v, ushort8 i);
3244short16 const_func __attribute__((overloadable)) rotate(short16 v, short16 i);
3245ushort16 const_func __attribute__((overloadable)) rotate(ushort16 v, ushort16 i);
3246int const_func __attribute__((overloadable)) rotate(int v, int i);
3247uint const_func __attribute__((overloadable)) rotate(uint v, uint i);
3248int2 const_func __attribute__((overloadable)) rotate(int2 v, int2 i);
3249uint2 const_func __attribute__((overloadable)) rotate(uint2 v, uint2 i);
3250int3 const_func __attribute__((overloadable)) rotate(int3 v, int3 i);
3251uint3 const_func __attribute__((overloadable)) rotate(uint3 v, uint3 i);
3252int4 const_func __attribute__((overloadable)) rotate(int4 v, int4 i);
3253uint4 const_func __attribute__((overloadable)) rotate(uint4 v, uint4 i);
3254int8 const_func __attribute__((overloadable)) rotate(int8 v, int8 i);
3255uint8 const_func __attribute__((overloadable)) rotate(uint8 v, uint8 i);
3256int16 const_func __attribute__((overloadable)) rotate(int16 v, int16 i);
3257uint16 const_func __attribute__((overloadable)) rotate(uint16 v, uint16 i);
3258long const_func __attribute__((overloadable)) rotate(long v, long i);
3259ulong const_func __attribute__((overloadable)) rotate(ulong v, ulong i);
3260long2 const_func __attribute__((overloadable)) rotate(long2 v, long2 i);
3261ulong2 const_func __attribute__((overloadable)) rotate(ulong2 v, ulong2 i);
3262long3 const_func __attribute__((overloadable)) rotate(long3 v, long3 i);
3263ulong3 const_func __attribute__((overloadable)) rotate(ulong3 v, ulong3 i);
3264long4 const_func __attribute__((overloadable)) rotate(long4 v, long4 i);
3265ulong4 const_func __attribute__((overloadable)) rotate(ulong4 v, ulong4 i);
3266long8 const_func __attribute__((overloadable)) rotate(long8 v, long8 i);
3267ulong8 const_func __attribute__((overloadable)) rotate(ulong8 v, ulong8 i);
3268long16 const_func __attribute__((overloadable)) rotate(long16 v, long16 i);
3269ulong16 const_func __attribute__((overloadable)) rotate(ulong16 v, ulong16 i);
3270
3271/**
3272 * Returns x - y and saturates the result.
3273 */
3274char const_func __attribute__((overloadable)) sub_sat(char x, char y);
3275uchar const_func __attribute__((overloadable)) sub_sat(uchar x, uchar y);
3276char2 const_func __attribute__((overloadable)) sub_sat(char2 x, char2 y);
3277uchar2 const_func __attribute__((overloadable)) sub_sat(uchar2 x, uchar2 y);
3278char3 const_func __attribute__((overloadable)) sub_sat(char3 x, char3 y);
3279uchar3 const_func __attribute__((overloadable)) sub_sat(uchar3 x, uchar3 y);
3280char4 const_func __attribute__((overloadable)) sub_sat(char4 x, char4 y);
3281uchar4 const_func __attribute__((overloadable)) sub_sat(uchar4 x, uchar4 y);
3282char8 const_func __attribute__((overloadable)) sub_sat(char8 x, char8 y);
3283uchar8 const_func __attribute__((overloadable)) sub_sat(uchar8 x, uchar8 y);
3284char16 const_func __attribute__((overloadable)) sub_sat(char16 x, char16 y);
3285uchar16 const_func __attribute__((overloadable)) sub_sat(uchar16 x, uchar16 y);
3286short const_func __attribute__((overloadable)) sub_sat(short x, short y);
3287ushort const_func __attribute__((overloadable)) sub_sat(ushort x, ushort y);
3288short2 const_func __attribute__((overloadable)) sub_sat(short2 x, short2 y);
3289ushort2 const_func __attribute__((overloadable)) sub_sat(ushort2 x, ushort2 y);
3290short3 const_func __attribute__((overloadable)) sub_sat(short3 x, short3 y);
3291ushort3 const_func __attribute__((overloadable)) sub_sat(ushort3 x, ushort3 y);
3292short4 const_func __attribute__((overloadable)) sub_sat(short4 x, short4 y);
3293ushort4 const_func __attribute__((overloadable)) sub_sat(ushort4 x, ushort4 y);
3294short8 const_func __attribute__((overloadable)) sub_sat(short8 x, short8 y);
3295ushort8 const_func __attribute__((overloadable)) sub_sat(ushort8 x, ushort8 y);
3296short16 const_func __attribute__((overloadable)) sub_sat(short16 x, short16 y);
3297ushort16 const_func __attribute__((overloadable)) sub_sat(ushort16 x, ushort16 y);
3298int const_func __attribute__((overloadable)) sub_sat(int x, int y);
3299uint const_func __attribute__((overloadable)) sub_sat(uint x, uint y);
3300int2 const_func __attribute__((overloadable)) sub_sat(int2 x, int2 y);
3301uint2 const_func __attribute__((overloadable)) sub_sat(uint2 x, uint2 y);
3302int3 const_func __attribute__((overloadable)) sub_sat(int3 x, int3 y);
3303uint3 const_func __attribute__((overloadable)) sub_sat(uint3 x, uint3 y);
3304int4 const_func __attribute__((overloadable)) sub_sat(int4 x, int4 y);
3305uint4 const_func __attribute__((overloadable)) sub_sat(uint4 x, uint4 y);
3306int8 const_func __attribute__((overloadable)) sub_sat(int8 x, int8 y);
3307uint8 const_func __attribute__((overloadable)) sub_sat(uint8 x, uint8 y);
3308int16 const_func __attribute__((overloadable)) sub_sat(int16 x, int16 y);
3309uint16 const_func __attribute__((overloadable)) sub_sat(uint16 x, uint16 y);
3310long const_func __attribute__((overloadable)) sub_sat(long x, long y);
3311ulong const_func __attribute__((overloadable)) sub_sat(ulong x, ulong y);
3312long2 const_func __attribute__((overloadable)) sub_sat(long2 x, long2 y);
3313ulong2 const_func __attribute__((overloadable)) sub_sat(ulong2 x, ulong2 y);
3314long3 const_func __attribute__((overloadable)) sub_sat(long3 x, long3 y);
3315ulong3 const_func __attribute__((overloadable)) sub_sat(ulong3 x, ulong3 y);
3316long4 const_func __attribute__((overloadable)) sub_sat(long4 x, long4 y);
3317ulong4 const_func __attribute__((overloadable)) sub_sat(ulong4 x, ulong4 y);
3318long8 const_func __attribute__((overloadable)) sub_sat(long8 x, long8 y);
3319ulong8 const_func __attribute__((overloadable)) sub_sat(ulong8 x, ulong8 y);
3320long16 const_func __attribute__((overloadable)) sub_sat(long16 x, long16 y);
3321ulong16 const_func __attribute__((overloadable)) sub_sat(ulong16 x, ulong16 y);
3322
3323/**
3324 * result[i] = ((short)hi[i] << 8) | lo[i]
3325 * result[i] = ((ushort)hi[i] << 8) | lo[i]
3326 */
3327short const_func __attribute__((overloadable)) upsample(char hi, uchar lo);
3328ushort const_func __attribute__((overloadable)) upsample (uchar hi, uchar lo);
3329short2 const_func __attribute__((overloadable)) upsample (char2 hi, uchar2 lo);
3330short3 const_func __attribute__((overloadable)) upsample (char3 hi, uchar3 lo);
3331short4 const_func __attribute__((overloadable)) upsample (char4 hi, uchar4 lo);
3332short8 const_func __attribute__((overloadable)) upsample (char8 hi, uchar8 lo);
3333short16 const_func __attribute__((overloadable)) upsample (char16 hi, uchar16 lo);
3334ushort2 const_func __attribute__((overloadable)) upsample (uchar2 hi, uchar2 lo);
3335ushort3 const_func __attribute__((overloadable)) upsample (uchar3 hi, uchar3 lo);
3336ushort4 const_func __attribute__((overloadable)) upsample (uchar4 hi, uchar4 lo);
3337ushort8 const_func __attribute__((overloadable)) upsample (uchar8 hi, uchar8 lo);
3338ushort16 const_func __attribute__((overloadable)) upsample (uchar16 hi, uchar16 lo);
3339
3340/**
3341 * result[i] = ((int)hi[i] << 16) | lo[i]
3342 * result[i] = ((uint)hi[i] << 16) | lo[i]
3343 */
3344int const_func __attribute__((overloadable)) upsample(short hi, ushort lo);
3345uint const_func __attribute__((overloadable)) upsample (ushort hi, ushort lo);
3346int2 const_func __attribute__((overloadable)) upsample (short2 hi, ushort2 lo);
3347int3 const_func __attribute__((overloadable)) upsample (short3 hi, ushort3 lo);
3348int4 const_func __attribute__((overloadable)) upsample (short4 hi, ushort4 lo);
3349int8 const_func __attribute__((overloadable)) upsample (short8 hi, ushort8 lo);
3350int16 const_func __attribute__((overloadable)) upsample (short16 hi, ushort16 lo);
3351uint2 const_func __attribute__((overloadable)) upsample (ushort2 hi, ushort2 lo);
3352uint3 const_func __attribute__((overloadable)) upsample (ushort3 hi, ushort3 lo);
3353uint4 const_func __attribute__((overloadable)) upsample (ushort4 hi, ushort4 lo);
3354uint8 const_func __attribute__((overloadable)) upsample (ushort8 hi, ushort8 lo);
3355uint16 const_func __attribute__((overloadable)) upsample (ushort16 hi, ushort16 lo);
3356/**
3357 * result[i] = ((long)hi[i] << 32) | lo[i]
3358 * result[i] = ((ulong)hi[i] << 32) | lo[i]
3359 */
3360long const_func __attribute__((overloadable)) upsample(int hi, uint lo);
3361ulong const_func __attribute__((overloadable)) upsample (uint hi, uint lo);
3362long2 const_func __attribute__((overloadable)) upsample (int2 hi, uint2 lo);
3363long3 const_func __attribute__((overloadable)) upsample (int3 hi, uint3 lo);
3364long4 const_func __attribute__((overloadable)) upsample (int4 hi, uint4 lo);
3365long8 const_func __attribute__((overloadable)) upsample (int8 hi, uint8 lo);
3366long16 const_func __attribute__((overloadable)) upsample (int16 hi, uint16 lo);
3367ulong2 const_func __attribute__((overloadable)) upsample (uint2 hi, uint2 lo);
3368ulong3 const_func __attribute__((overloadable)) upsample (uint3 hi, uint3 lo);
3369ulong4 const_func __attribute__((overloadable)) upsample (uint4 hi, uint4 lo);
3370ulong8 const_func __attribute__((overloadable)) upsample (uint8 hi, uint8 lo);
3371ulong16 const_func __attribute__((overloadable)) upsample (uint16 hi, uint16 lo);
3372
3373/*
3374 * popcount(x): returns the number of set bit in x
3375 */
3376char const_func __attribute__((overloadable)) popcount(char x);
3377uchar const_func __attribute__((overloadable)) popcount(uchar x);
3378char2 const_func __attribute__((overloadable)) popcount(char2 x);
3379uchar2 const_func __attribute__((overloadable)) popcount(uchar2 x);
3380char3 const_func __attribute__((overloadable)) popcount(char3 x);
3381uchar3 const_func __attribute__((overloadable)) popcount(uchar3 x);
3382char4 const_func __attribute__((overloadable)) popcount(char4 x);
3383uchar4 const_func __attribute__((overloadable)) popcount(uchar4 x);
3384char8 const_func __attribute__((overloadable)) popcount(char8 x);
3385uchar8 const_func __attribute__((overloadable)) popcount(uchar8 x);
3386char16 const_func __attribute__((overloadable)) popcount(char16 x);
3387uchar16 const_func __attribute__((overloadable)) popcount(uchar16 x);
3388short const_func __attribute__((overloadable)) popcount(short x);
3389ushort const_func __attribute__((overloadable)) popcount(ushort x);
3390short2 const_func __attribute__((overloadable)) popcount(short2 x);
3391ushort2 const_func __attribute__((overloadable)) popcount(ushort2 x);
3392short3 const_func __attribute__((overloadable)) popcount(short3 x);
3393ushort3 const_func __attribute__((overloadable)) popcount(ushort3 x);
3394short4 const_func __attribute__((overloadable)) popcount(short4 x);
3395ushort4 const_func __attribute__((overloadable)) popcount(ushort4 x);
3396short8 const_func __attribute__((overloadable)) popcount(short8 x);
3397ushort8 const_func __attribute__((overloadable)) popcount(ushort8 x);
3398short16 const_func __attribute__((overloadable)) popcount(short16 x);
3399ushort16 const_func __attribute__((overloadable)) popcount(ushort16 x);
3400int const_func __attribute__((overloadable)) popcount(int x);
3401uint const_func __attribute__((overloadable)) popcount(uint x);
3402int2 const_func __attribute__((overloadable)) popcount(int2 x);
3403uint2 const_func __attribute__((overloadable)) popcount(uint2 x);
3404int3 const_func __attribute__((overloadable)) popcount(int3 x);
3405uint3 const_func __attribute__((overloadable)) popcount(uint3 x);
3406int4 const_func __attribute__((overloadable)) popcount(int4 x);
3407uint4 const_func __attribute__((overloadable)) popcount(uint4 x);
3408int8 const_func __attribute__((overloadable)) popcount(int8 x);
3409uint8 const_func __attribute__((overloadable)) popcount(uint8 x);
3410int16 const_func __attribute__((overloadable)) popcount(int16 x);
3411uint16 const_func __attribute__((overloadable)) popcount(uint16 x);
3412long const_func __attribute__((overloadable)) popcount(long x);
3413ulong const_func __attribute__((overloadable)) popcount(ulong x);
3414long2 const_func __attribute__((overloadable)) popcount(long2 x);
3415ulong2 const_func __attribute__((overloadable)) popcount(ulong2 x);
3416long3 const_func __attribute__((overloadable)) popcount(long3 x);
3417ulong3 const_func __attribute__((overloadable)) popcount(ulong3 x);
3418long4 const_func __attribute__((overloadable)) popcount(long4 x);
3419ulong4 const_func __attribute__((overloadable)) popcount(ulong4 x);
3420long8 const_func __attribute__((overloadable)) popcount(long8 x);
3421ulong8 const_func __attribute__((overloadable)) popcount(ulong8 x);
3422long16 const_func __attribute__((overloadable)) popcount(long16 x);
3423ulong16 const_func __attribute__((overloadable)) popcount(ulong16 x);
3424
3425/**
3426 * Multiply two 24-bit integer values x and y and add
3427 * the 32-bit integer result to the 32-bit integer z.
3428 * Refer to definition of mul24 to see how the 24-bit
3429 * integer multiplication is performed.
3430 */
3431int const_func __attribute__((overloadable)) mad24(int x, int y, int z);
3432uint const_func __attribute__((overloadable)) mad24(uint x, uint y, uint z);
3433int2 const_func __attribute__((overloadable)) mad24(int2 x, int2 y, int2 z);
3434uint2 const_func __attribute__((overloadable)) mad24(uint2 x, uint2 y, uint2 z);
3435int3 const_func __attribute__((overloadable)) mad24(int3 x, int3 y, int3 z);
3436uint3 const_func __attribute__((overloadable)) mad24(uint3 x, uint3 y, uint3 z);
3437int4 const_func __attribute__((overloadable)) mad24(int4 x, int4 y, int4 z);
3438uint4 const_func __attribute__((overloadable)) mad24(uint4 x, uint4 y, uint4 z);
3439int8 const_func __attribute__((overloadable)) mad24(int8 x, int8 y, int8 z);
3440uint8 const_func __attribute__((overloadable)) mad24(uint8 x, uint8 y, uint8 z);
3441int16 const_func __attribute__((overloadable)) mad24(int16 x, int16 y, int16 z);
3442uint16 const_func __attribute__((overloadable)) mad24(uint16 x, uint16 y, uint16 z);
3443
3444/**
3445 * Multiply two 24-bit integer values x and y. x and y
3446 * are 32-bit integers but only the low 24-bits are used
3447 * to perform the multiplication. mul24 should only
3448 * be used when values in x and y are in the range [-
3449 * 2^23, 2^23-1] if x and y are signed integers and in the
3450 * range [0, 2^24-1] if x and y are unsigned integers. If
3451 * x and y are not in this range, the multiplication
3452 * result is implementation-defined.
3453 */
3454int const_func __attribute__((overloadable)) mul24(int x, int y);
3455uint const_func __attribute__((overloadable)) mul24(uint x, uint y);
3456int2 const_func __attribute__((overloadable)) mul24(int2 x, int2 y);
3457uint2 const_func __attribute__((overloadable)) mul24(uint2 x, uint2 y);
3458int3 const_func __attribute__((overloadable)) mul24(int3 x, int3 y);
3459uint3 const_func __attribute__((overloadable)) mul24(uint3 x, uint3 y);
3460int4 const_func __attribute__((overloadable)) mul24(int4 x, int4 y);
3461uint4 const_func __attribute__((overloadable)) mul24(uint4 x, uint4 y);
3462int8 const_func __attribute__((overloadable)) mul24(int8 x, int8 y);
3463uint8 const_func __attribute__((overloadable)) mul24(uint8 x, uint8 y);
3464int16 const_func __attribute__((overloadable)) mul24(int16 x, int16 y);
3465uint16 const_func __attribute__((overloadable)) mul24(uint16 x, uint16 y);
3466
3467// Common functions:
3468
3469/**
3470 * Returns fmin(fmax(x, minval), maxval).
3471 * Results are undefined if minval > maxval.
3472 */
3473float const_func __attribute__((overloadable)) clamp(float x, float minval, float maxval);
3474float2 const_func __attribute__((overloadable)) clamp(float2 x, float2 minval, float2 maxval);
3475float3 const_func __attribute__((overloadable)) clamp(float3 x, float3 minval, float3 maxval);
3476float4 const_func __attribute__((overloadable)) clamp(float4 x, float4 minval, float4 maxval);
3477float8 const_func __attribute__((overloadable)) clamp(float8 x, float8 minval, float8 maxval);
3478float16 const_func __attribute__((overloadable)) clamp(float16 x, float16 minval, float16 maxval);
3479float2 const_func __attribute__((overloadable)) clamp(float2 x, float minval, float maxval);
3480float3 const_func __attribute__((overloadable)) clamp(float3 x, float minval, float maxval);
3481float4 const_func __attribute__((overloadable)) clamp(float4 x, float minval, float maxval);
3482float8 const_func __attribute__((overloadable)) clamp(float8 x, float minval, float maxval);
3483float16 const_func __attribute__((overloadable)) clamp(float16 x, float minval, float maxval);
3484double const_func __attribute__((overloadable)) clamp(double x, double minval, double maxval);
3485double2 const_func __attribute__((overloadable)) clamp(double2 x, double2 minval, double2 maxval);
3486double3 const_func __attribute__((overloadable)) clamp(double3 x, double3 minval, double3 maxval);
3487double4 const_func __attribute__((overloadable)) clamp(double4 x, double4 minval, double4 maxval);
3488double8 const_func __attribute__((overloadable)) clamp(double8 x, double8 minval, double8 maxval);
3489double16 const_func __attribute__((overloadable)) clamp(double16 x, double16 minval, double16 maxval);
3490double2 const_func __attribute__((overloadable)) clamp(double2 x, double minval, double maxval);
3491double3 const_func __attribute__((overloadable)) clamp(double3 x, double minval, double maxval);
3492double4 const_func __attribute__((overloadable)) clamp(double4 x, double minval, double maxval);
3493double8 const_func __attribute__((overloadable)) clamp(double8 x, double minval, double maxval);
3494double16 const_func __attribute__((overloadable)) clamp(double16 x, double minval, double maxval);
3495//half const_func __attribute__((overloadable)) clamp(half x, half minval, half maxval);
3496//half2 const_func __attribute__((overloadable)) clamp(half2 x, half2 minval, half2 maxval);
3497//half3 const_func __attribute__((overloadable)) clamp(half3 x, half3 minval, half3 maxval);
3498//half4 const_func __attribute__((overloadable)) clamp(half4 x, half4 minval, half4 maxval);
3499//half8 const_func __attribute__((overloadable)) clamp(half8 x, half8 minval, half8 maxval);
3500//half16 const_func __attribute__((overloadable)) clamp(half16 x, half16 minval, half16 maxval);
3501//half2 const_func __attribute__((overloadable)) clamp(half2 x, half minval, half maxval);
3502//half3 const_func __attribute__((overloadable)) clamp(half3 x, half minval, half maxval);
3503//half4 const_func __attribute__((overloadable)) clamp(half4 x, half minval, half maxval);
3504//half8 const_func __attribute__((overloadable)) clamp(half8 x, half minval, half maxval);
3505//half16 const_func __attribute__((overloadable)) clamp(half16 x, half minval, half maxval);
3506
3507/**
3508 * Converts radians to degrees, i.e. (180 / PI) *
3509 * radians.
3510 */
3511float const_func __attribute__((overloadable)) degrees(float radians);
3512float2 const_func __attribute__((overloadable)) degrees(float2 radians);
3513float3 const_func __attribute__((overloadable)) degrees(float3 radians);
3514float4 const_func __attribute__((overloadable)) degrees(float4 radians);
3515float8 const_func __attribute__((overloadable)) degrees(float8 radians);
3516float16 const_func __attribute__((overloadable)) degrees(float16 radians);
3517double const_func __attribute__((overloadable)) degrees(double radians);
3518double2 const_func __attribute__((overloadable)) degrees(double2 radians);
3519double3 const_func __attribute__((overloadable)) degrees(double3 radians);
3520double4 const_func __attribute__((overloadable)) degrees(double4 radians);
3521double8 const_func __attribute__((overloadable)) degrees(double8 radians);
3522double16 const_func __attribute__((overloadable)) degrees(double16 radians);
3523//half const_func __attribute__((overloadable)) degrees(half radians);
3524//half2 const_func __attribute__((overloadable)) degrees(half2 radians);
3525//half3 const_func __attribute__((overloadable)) degrees(half3 radians);
3526//half4 const_func __attribute__((overloadable)) degrees(half4 radians);
3527//half8 const_func __attribute__((overloadable)) degrees(half8 radians);
3528//half16 const_func __attribute__((overloadable)) degrees(half16 radians);
3529
3530/**
3531 * Returns y if x < y, otherwise it returns x. If x and y
3532 * are infinite or NaN, the return values are undefined.
3533 */
3534float const_func __attribute__((overloadable)) max(float x, float y);
3535float2 const_func __attribute__((overloadable)) max(float2 x, float2 y);
3536float3 const_func __attribute__((overloadable)) max(float3 x, float3 y);
3537float4 const_func __attribute__((overloadable)) max(float4 x, float4 y);
3538float8 const_func __attribute__((overloadable)) max(float8 x, float8 y);
3539float16 const_func __attribute__((overloadable)) max(float16 x, float16 y);
3540float2 const_func __attribute__((overloadable)) max(float2 x, float y);
3541float3 const_func __attribute__((overloadable)) max(float3 x, float y);
3542float4 const_func __attribute__((overloadable)) max(float4 x, float y);
3543float8 const_func __attribute__((overloadable)) max(float8 x, float y);
3544float16 const_func __attribute__((overloadable)) max(float16 x, float y);
3545double const_func __attribute__((overloadable)) max(double x, double y);
3546double2 const_func __attribute__((overloadable)) max(double2 x, double2 y);
3547double3 const_func __attribute__((overloadable)) max(double3 x, double3 y);
3548double4 const_func __attribute__((overloadable)) max(double4 x, double4 y);
3549double8 const_func __attribute__((overloadable)) max(double8 x, double8 y);
3550double16 const_func __attribute__((overloadable)) max(double16 x, double16 y);
3551double2 const_func __attribute__((overloadable)) max(double2 x, double y);
3552double3 const_func __attribute__((overloadable)) max(double3 x, double y);
3553double4 const_func __attribute__((overloadable)) max(double4 x, double y);
3554double8 const_func __attribute__((overloadable)) max(double8 x, double y);
3555double16 const_func __attribute__((overloadable)) max(double16 x, double y);
3556//half const_func __attribute__((overloadable)) max(half x, half y);
3557//half2 const_func __attribute__((overloadable)) max(half2 x, half2 y);
3558//half3 const_func __attribute__((overloadable)) max(half3 x, half3 y);
3559//half4 const_func __attribute__((overloadable)) max(half4 x, half4 y);
3560//half8 const_func __attribute__((overloadable)) max(half8 x, half8 y);
3561//half16 const_func __attribute__((overloadable)) max(half16 x, half16 y);
3562//half2 const_func __attribute__((overloadable)) max(half2 x, half y);
3563//half3 const_func __attribute__((overloadable)) max(half3 x, half y);
3564//half4 const_func __attribute__((overloadable)) max(half4 x, half y);
3565//half8 const_func __attribute__((overloadable)) max(half8 x, half y);
3566//half16 const_func __attribute__((overloadable)) max(half16 x, half y);
3567
3568/**
3569 * Returns y if y < x, otherwise it returns x. If x and y
3570 * are infinite or NaN, the return values are undefined.
3571 */
3572float const_func __attribute__((overloadable)) min(float x, float y);
3573float2 const_func __attribute__((overloadable)) min(float2 x, float2 y);
3574float3 const_func __attribute__((overloadable)) min(float3 x, float3 y);
3575float4 const_func __attribute__((overloadable)) min(float4 x, float4 y);
3576float8 const_func __attribute__((overloadable)) min(float8 x, float8 y);
3577float16 const_func __attribute__((overloadable)) min(float16 x, float16 y);
3578float2 const_func __attribute__((overloadable)) min(float2 x, float y);
3579float3 const_func __attribute__((overloadable)) min(float3 x, float y);
3580float4 const_func __attribute__((overloadable)) min(float4 x, float y);
3581float8 const_func __attribute__((overloadable)) min(float8 x, float y);
3582float16 const_func __attribute__((overloadable)) min(float16 x, float y);
3583double const_func __attribute__((overloadable)) min(double x, double y);
3584double2 const_func __attribute__((overloadable)) min(double2 x, double2 y);
3585double3 const_func __attribute__((overloadable)) min(double3 x, double3 y);
3586double4 const_func __attribute__((overloadable)) min(double4 x, double4 y);
3587double8 const_func __attribute__((overloadable)) min(double8 x, double8 y);
3588double16 const_func __attribute__((overloadable)) min(double16 x, double16 y);
3589double2 const_func __attribute__((overloadable)) min(double2 x, double y);
3590double3 const_func __attribute__((overloadable)) min(double3 x, double y);
3591double4 const_func __attribute__((overloadable)) min(double4 x, double y);
3592double8 const_func __attribute__((overloadable)) min(double8 x, double y);
3593double16 const_func __attribute__((overloadable)) min(double16 x, double y);
3594//half const_func __attribute__((overloadable)) min(half x, half y);
3595//half2 const_func __attribute__((overloadable)) min(half2 x, half2 y);
3596//half3 const_func __attribute__((overloadable)) min(half3 x, half3 y);
3597//half4 const_func __attribute__((overloadable)) min(half4 x, half4 y);
3598//half8 const_func __attribute__((overloadable)) min(half8 x, half8 y);
3599//half16 const_func __attribute__((overloadable)) min(half16 x, half16 y);
3600//half2 const_func __attribute__((overloadable)) min(half2 x, half y);
3601//half3 const_func __attribute__((overloadable)) min(half3 x, half y);
3602//half4 const_func __attribute__((overloadable)) min(half4 x, half y);
3603//half8 const_func __attribute__((overloadable)) min(half8 x, half y);
3604//half16 const_func __attribute__((overloadable)) min(half16 x, half y);
3605
3606/**
3607 * Returns the linear blend of x & y implemented as:
3608 * x + (y – x) * a
3609 * a must be a value in the range 0.0 … 1.0. If a is not
3610 * in the range 0.0 … 1.0, the return values are
3611 * undefined.
3612 */
3613float const_func __attribute__((overloadable)) mix(float x, float y, float a);
3614float2 const_func __attribute__((overloadable)) mix(float2 x, float2 y, float2 a);
3615float3 const_func __attribute__((overloadable)) mix(float3 x, float3 y, float3 a);
3616float4 const_func __attribute__((overloadable)) mix(float4 x, float4 y, float4 a);
3617float8 const_func __attribute__((overloadable)) mix(float8 x, float8 y, float8 a);
3618float16 const_func __attribute__((overloadable)) mix(float16 x, float16 y, float16 a);
3619float2 const_func __attribute__((overloadable)) mix(float2 x, float2 y, float a);
3620float3 const_func __attribute__((overloadable)) mix(float3 x, float3 y, float a);
3621float4 const_func __attribute__((overloadable)) mix(float4 x, float4 y, float a);
3622float8 const_func __attribute__((overloadable)) mix(float8 x, float8 y, float a);
3623float16 const_func __attribute__((overloadable)) mix(float16 x, float16 y, float a);
3624double const_func __attribute__((overloadable)) mix(double x, double y, double a);
3625double2 const_func __attribute__((overloadable)) mix(double2 x, double2 y, double2 a);
3626double3 const_func __attribute__((overloadable)) mix(double3 x, double3 y, double3 a);
3627double4 const_func __attribute__((overloadable)) mix(double4 x, double4 y, double4 a);
3628double8 const_func __attribute__((overloadable)) mix(double8 x, double8 y, double8 a);
3629double16 const_func __attribute__((overloadable)) mix(double16 x, double16 y, double16 a);
3630double2 const_func __attribute__((overloadable)) mix(double2 x, double2 y, double a);
3631double3 const_func __attribute__((overloadable)) mix(double3 x, double3 y, double a);
3632double4 const_func __attribute__((overloadable)) mix(double4 x, double4 y, double a);
3633double8 const_func __attribute__((overloadable)) mix(double8 x, double8 y, double a);
3634double16 const_func __attribute__((overloadable)) mix(double16 x, double16 y, double a);
3635//half const_func __attribute__((overloadable)) mix(half x, half y, half a);
3636//half2 const_func __attribute__((overloadable)) mix(half2 x, half2 y, half2 a);
3637//half3 const_func __attribute__((overloadable)) mix(half3 x, half3 y, half3 a);
3638//half4 const_func __attribute__((overloadable)) mix(half4 x, half4 y, half4 a);
3639//half8 const_func __attribute__((overloadable)) mix(half8 x, half8 y, half8 a);
3640//half16 const_func __attribute__((overloadable)) mix(half16 x, half16 y, half16 a);
3641//half2 const_func __attribute__((overloadable)) mix(half2 x, half2 y, half a);
3642//half3 const_func __attribute__((overloadable)) mix(half3 x, half3 y, half a);
3643//half4 const_func __attribute__((overloadable)) mix(half4 x, half4 y, half a);
3644//half8 const_func __attribute__((overloadable)) mix(half8 x, half8 y, half a);
3645//half16 const_func __attribute__((overloadable)) mix(half16 x, half16 y, half a);
3646
3647/**
3648 * Converts degrees to radians, i.e. (PI / 180) *
3649 * degrees.
3650 */
3651float const_func __attribute__((overloadable)) radians(float degrees);
3652float2 const_func __attribute__((overloadable)) radians(float2 degrees);
3653float3 const_func __attribute__((overloadable)) radians(float3 degrees);
3654float4 const_func __attribute__((overloadable)) radians(float4 degrees);
3655float8 const_func __attribute__((overloadable)) radians(float8 degrees);
3656float16 const_func __attribute__((overloadable)) radians(float16 degrees);
3657double const_func __attribute__((overloadable)) radians(double degrees);
3658double2 const_func __attribute__((overloadable)) radians(double2 degrees);
3659double3 const_func __attribute__((overloadable)) radians(double3 degrees);
3660double4 const_func __attribute__((overloadable)) radians(double4 degrees);
3661double8 const_func __attribute__((overloadable)) radians(double8 degrees);
3662double16 const_func __attribute__((overloadable)) radians(double16 degrees);
3663//half const_func __attribute__((overloadable)) radians(half degrees);
3664//half2 const_func __attribute__((overloadable)) radians(half2 degrees);
3665//half3 const_func __attribute__((overloadable)) radians(half3 degrees);
3666//half4 const_func __attribute__((overloadable)) radians(half4 degrees);
3667//half8 const_func __attribute__((overloadable)) radians(half8 degrees);
3668//half16 const_func __attribute__((overloadable)) radians(half16 degrees);
3669
3670/**
3671 * Returns 0.0 if x < edge, otherwise it returns 1.0.
3672 */
3673float const_func __attribute__((overloadable)) step(float edge, float x);
3674float2 const_func __attribute__((overloadable)) step(float2 edge, float2 x);
3675float3 const_func __attribute__((overloadable)) step(float3 edge, float3 x);
3676float4 const_func __attribute__((overloadable)) step(float4 edge, float4 x);
3677float8 const_func __attribute__((overloadable)) step(float8 edge, float8 x);
3678float16 const_func __attribute__((overloadable)) step(float16 edge, float16 x);
3679float2 const_func __attribute__((overloadable)) step(float edge, float2 x);
3680float3 const_func __attribute__((overloadable)) step(float edge, float3 x);
3681float4 const_func __attribute__((overloadable)) step(float edge, float4 x);
3682float8 const_func __attribute__((overloadable)) step(float edge, float8 x);
3683float16 const_func __attribute__((overloadable)) step(float edge, float16 x);
3684double const_func __attribute__((overloadable)) step(double edge, double x);
3685double2 const_func __attribute__((overloadable)) step(double2 edge, double2 x);
3686double3 const_func __attribute__((overloadable)) step(double3 edge, double3 x);
3687double4 const_func __attribute__((overloadable)) step(double4 edge, double4 x);
3688double8 const_func __attribute__((overloadable)) step(double8 edge, double8 x);
3689double16 const_func __attribute__((overloadable)) step(double16 edge, double16 x);
3690double const_func __attribute__((overloadable)) step(double edge, double x);
3691double2 const_func __attribute__((overloadable)) step(double edge, double2 x);
3692double3 const_func __attribute__((overloadable)) step(double edge, double3 x);
3693double4 const_func __attribute__((overloadable)) step(double edge, double4 x);
3694double8 const_func __attribute__((overloadable)) step(double edge, double8 x);
3695double16 const_func __attribute__((overloadable)) step(double edge, double16 x);
3696//half const_func __attribute__((overloadable)) step(half edge, half x);
3697//half2 const_func __attribute__((overloadable)) step(half2 edge, half2 x);
3698//half3 const_func __attribute__((overloadable)) step(half3 edge, half3 x);
3699//half4 const_func __attribute__((overloadable)) step(half4 edge, half4 x);
3700//half8 const_func __attribute__((overloadable)) step(half8 edge, half8 x);
3701//half16 const_func __attribute__((overloadable)) step(half16 edge, half16 x);
3702//half const_func __attribute__((overloadable)) step(half edge, half x);
3703//half2 const_func __attribute__((overloadable)) step(half edge, half2 x);
3704//half3 const_func __attribute__((overloadable)) step(half edge, half3 x);
3705//half4 const_func __attribute__((overloadable)) step(half edge, half4 x);
3706//half8 const_func __attribute__((overloadable)) step(half edge, half8 x);
3707//half16 const_func __attribute__((overloadable)) step(half edge, half16 x);
3708
3709/**
3710 * Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and
3711 * performs smooth Hermite interpolation between 0
3712 * and 1when edge0 < x < edge1. This is useful in
3713 * cases where you would want a threshold function
3714 * with a smooth transition.
3715 * This is equivalent to:
3716 * gentype t;
3717 * t = clamp ((x – edge0) / (edge1 – edge0), 0, 1);
3718 * return t * t * (3 – 2 * t);
3719 * Results are undefined if edge0 >= edge1 or if x,
3720 * edge0 or edge1 is a NaN.
3721 */
3722float const_func __attribute__((overloadable)) smoothstep(float edge0, float edge1, float x);
3723float2 const_func __attribute__((overloadable)) smoothstep(float2 edge0, float2 edge1, float2 x);
3724float3 const_func __attribute__((overloadable)) smoothstep(float3 edge0, float3 edge1, float3 x);
3725float4 const_func __attribute__((overloadable)) smoothstep(float4 edge0, float4 edge1, float4 x);
3726float8 const_func __attribute__((overloadable)) smoothstep(float8 edge0, float8 edge1, float8 x);
3727float16 const_func __attribute__((overloadable)) smoothstep(float16 edge0, float16 edge1, float16 x);
3728float2 const_func __attribute__((overloadable)) smoothstep(float edge0, float edge1, float2 x);
3729float3 const_func __attribute__((overloadable)) smoothstep(float edge0, float edge1, float3 x);
3730float4 const_func __attribute__((overloadable)) smoothstep(float edge0, float edge1, float4 x);
3731float8 const_func __attribute__((overloadable)) smoothstep(float edge0, float edge1, float8 x);
3732float16 const_func __attribute__((overloadable)) smoothstep(float edge0, float edge1, float16 x);
3733double const_func __attribute__((overloadable)) smoothstep(double edge0, double edge1, double x);
3734double2 const_func __attribute__((overloadable)) smoothstep(double edge0, double edge1, double2 x);
3735double3 const_func __attribute__((overloadable)) smoothstep(double edge0, double edge1, double3 x);
3736double4 const_func __attribute__((overloadable)) smoothstep(double edge0, double edge1, double4 x);
3737double8 const_func __attribute__((overloadable)) smoothstep(double edge0, double edge1, double8 x);
3738double16 const_func __attribute__((overloadable)) smoothstep(double edge0, double edge1, double16 x);
3739double const_func __attribute__((overloadable)) smoothstep(double edge0, double edge1, double x);
3740double2 const_func __attribute__((overloadable)) smoothstep(double2 edge0, double2 edge1, double2 x);
3741double3 const_func __attribute__((overloadable)) smoothstep(double3 edge0, double3 edge1, double3 x);
3742double4 const_func __attribute__((overloadable)) smoothstep(double4 edge0, double4 edge1, double4 x);
3743double8 const_func __attribute__((overloadable)) smoothstep(double8 edge0, double8 edge1, double8 x);
3744double16 const_func __attribute__((overloadable)) smoothstep(double16 edge0, double16 edge1, double16 x);
3745//half const_func __attribute__((overloadable)) smoothstep(half edge0, half edge1, half x);
3746//half2 const_func __attribute__((overloadable)) smoothstep(half2 edge0, half2 edge1, half2 x);
3747//half3 const_func __attribute__((overloadable)) smoothstep(half3 edge0, half3 edge1, half3 x);
3748//half4 const_func __attribute__((overloadable)) smoothstep(half4 edge0, half4 edge1, half4 x);
3749//half8 const_func __attribute__((overloadable)) smoothstep(half8 edge0, half8 edge1, half8 x);
3750//half16 const_func __attribute__((overloadable)) smoothstep(half16 edge0, half16 edge1, half16 x);
3751//half const_func __attribute__((overloadable)) smoothstep(half edge0, half edge1, half x);
3752//half2 const_func __attribute__((overloadable)) smoothstep(half edge0, half edge1, half2 x);
3753//half3 const_func __attribute__((overloadable)) smoothstep(half edge0, half edge1, half3 x);
3754//half4 const_func __attribute__((overloadable)) smoothstep(half edge0, half edge1, half4 x);
3755//half8 const_func __attribute__((overloadable)) smoothstep(half edge0, half edge1, half8 x);
3756//half16 const_func __attribute__((overloadable)) smoothstep(half edge0, half edge1, half16 x);
3757
3758/**
3759 * Returns 1.0 if x > 0, -0.0 if x = -0.0, +0.0 if x =
3760 * +0.0, or –1.0 if x < 0. Returns 0.0 if x is a NaN.
3761 */
3762float const_func __attribute__((overloadable)) sign(float x);
3763float2 const_func __attribute__((overloadable)) sign(float2 x);
3764float3 const_func __attribute__((overloadable)) sign(float3 x);
3765float4 const_func __attribute__((overloadable)) sign(float4 x);
3766float8 const_func __attribute__((overloadable)) sign(float8 x);
3767float16 const_func __attribute__((overloadable)) sign(float16 x);
3768double const_func __attribute__((overloadable)) sign(double x);
3769double2 const_func __attribute__((overloadable)) sign(double2 x);
3770double3 const_func __attribute__((overloadable)) sign(double3 x);
3771double4 const_func __attribute__((overloadable)) sign(double4 x);
3772double8 const_func __attribute__((overloadable)) sign(double8 x);
3773double16 const_func __attribute__((overloadable)) sign(double16 x);
3774//half const_func __attribute__((overloadable)) sign(half x);
3775//half2 const_func __attribute__((overloadable)) sign(half2 x);
3776//half3 const_func __attribute__((overloadable)) sign(half3 x);
3777//half4 const_func __attribute__((overloadable)) sign(half4 x);
3778//half8 const_func __attribute__((overloadable)) sign(half8 x);
3779//half16 const_func __attribute__((overloadable)) sign(half16 x);
3780
3781// Geometric functions:
3782
3783/**
3784 * Returns the cross product of p0.xyz and p1.xyz. The
3785 * w component of float4 result returned will be 0.0.
3786 */
3787float4 const_func __attribute__((overloadable)) cross(float4 p0, float4 p1);
3788float3 const_func __attribute__((overloadable)) cross (float3 p0, float3 p1);
3789double4 const_func __attribute__((overloadable)) cross(double4 p0, double4 p1);
3790double3 const_func __attribute__((overloadable)) cross(double3 p0, double3 p1);
3791//half4 const_func __attribute__((overloadable)) cross(half4 p0, half4 p1);
3792//half3 const_func __attribute__((overloadable)) cross(half3 p0, half3 p1);
3793
3794/**
3795 * Compute dot product.
3796 */
3797float const_func __attribute__((overloadable)) dot(float p0, float p1);
3798float const_func __attribute__((overloadable)) dot(float2 p0, float2 p1);
3799float const_func __attribute__((overloadable)) dot(float3 p0, float3 p1);
3800float const_func __attribute__((overloadable)) dot(float4 p0, float4 p1);
3801double const_func __attribute__((overloadable)) dot(double p0, double p1);
3802double const_func __attribute__((overloadable)) dot(double2 p0, double2 p1);
3803double const_func __attribute__((overloadable)) dot(double3 p0, double3 p1);
3804double const_func __attribute__((overloadable)) dot(double4 p0, double4 p1);
3805//half const_func __attribute__((overloadable)) dot(half p0, half p1);
3806//half const_func __attribute__((overloadable)) dot(half2 p0, half2 p1);
3807//half const_func __attribute__((overloadable)) dot(half3 p0, half3 p1);
3808//half const_func __attribute__((overloadable)) dot(half4 p0, half4 p1);
3809
3810/**
3811 * Returns the distance between p0 and p1. This is
3812 * calculated as length(p0 – p1).
3813 */
3814float const_func __attribute__((overloadable)) distance(float p0, float p1);
3815float const_func __attribute__((overloadable)) distance(float2 p0, float2 p1);
3816float const_func __attribute__((overloadable)) distance(float3 p0, float3 p1);
3817float const_func __attribute__((overloadable)) distance(float4 p0, float4 p1);
3818double const_func __attribute__((overloadable)) distance(double p0, double p1);
3819double const_func __attribute__((overloadable)) distance(double2 p0, double2 p1);
3820double const_func __attribute__((overloadable)) distance(double3 p0, double3 p1);
3821double const_func __attribute__((overloadable)) distance(double4 p0, double4 p1);
3822//half const_func __attribute__((overloadable)) distance(half p0, half p1);
3823//half const_func __attribute__((overloadable)) distance(half2 p0, half2 p1);
3824//half const_func __attribute__((overloadable)) distance(half3 p0, half3 p1);
3825//half const_func __attribute__((overloadable)) distance(half4 p0, half4 p1);
3826
3827/**
3828 * Return the length of vector p, i.e.,
3829 * sqrt(p.x2 + p.y 2 + ...)
3830 */
3831float const_func __attribute__((overloadable)) length(float p);
3832float const_func __attribute__((overloadable)) length(float2 p);
3833float const_func __attribute__((overloadable)) length(float3 p);
3834float const_func __attribute__((overloadable)) length(float4 p);
3835double const_func __attribute__((overloadable)) length(double p);
3836double const_func __attribute__((overloadable)) length(double2 p);
3837double const_func __attribute__((overloadable)) length(double3 p);
3838double const_func __attribute__((overloadable)) length(double4 p);
3839//half const_func __attribute__((overloadable)) length(half p);
3840//half const_func __attribute__((overloadable)) length(half2 p);
3841//half const_func __attribute__((overloadable)) length(half3 p);
3842//half const_func __attribute__((overloadable)) length(half4 p);
3843
3844/**
3845 * Returns a vector in the same direction as p but with a
3846 * length of 1.
3847 */
3848float const_func __attribute__((overloadable)) normalize(float p);
3849float2 const_func __attribute__((overloadable)) normalize(float2 p);
3850float3 const_func __attribute__((overloadable)) normalize(float3 p);
3851float4 const_func __attribute__((overloadable)) normalize(float4 p);
3852double const_func __attribute__((overloadable)) normalize(double p);
3853double2 const_func __attribute__((overloadable)) normalize(double2 p);
3854double3 const_func __attribute__((overloadable)) normalize(double3 p);
3855double4 const_func __attribute__((overloadable)) normalize(double4 p);
3856//half const_func __attribute__((overloadable)) normalize(half p);
3857//half2 const_func __attribute__((overloadable)) normalize(half2 p);
3858//half3 const_func __attribute__((overloadable)) normalize(half3 p);
3859//half4 const_func __attribute__((overloadable)) normalize(half4 p);
3860
3861/**
3862 * Returns fast_length(p0 – p1).
3863 */
3864float const_func __attribute__((overloadable)) fast_distance(float p0, float p1);
3865float const_func __attribute__((overloadable)) fast_distance(float2 p0, float2 p1);
3866float const_func __attribute__((overloadable)) fast_distance(float3 p0, float3 p1);
3867float const_func __attribute__((overloadable)) fast_distance(float4 p0, float4 p1);
3868
3869/**
3870 * Returns the length of vector p computed as:
3871 * half_sqrt(p.x2 + p.y2 + ...)
3872 */
3873float const_func __attribute__((overloadable)) fast_length(float p);
3874float const_func __attribute__((overloadable)) fast_length(float2 p);
3875float const_func __attribute__((overloadable)) fast_length(float3 p);
3876float const_func __attribute__((overloadable)) fast_length(float4 p);
3877
3878/**
3879 * Returns a vector in the same direction as p but with a
3880 * length of 1. fast_normalize is computed as:
3881 * p * half_rsqrt (p.x^2 + p.y^2 + … )
3882 * The result shall be within 8192 ulps error from the
3883 * infinitely precise result of
3884 * if (all(p == 0.0f))
3885 * result = p;
3886 * else
3887 * result = p / sqrt (p.x^2 + p.y^2 + ... );
3888 * with the following exceptions:
3889 * 1) If the sum of squares is greater than FLT_MAX
3890 * then the value of the floating-point values in the
3891 * result vector are undefined.
3892 * 2) If the sum of squares is less than FLT_MIN then
3893 * the implementation may return back p.
3894 * 3) If the device is in “denorms are flushed to zero”
3895 * mode, individual operand elements with magnitude
3896 * less than sqrt(FLT_MIN) may be flushed to zero
3897 * before proceeding with the calculation.
3898 */
3899float const_func __attribute__((overloadable)) fast_normalize(float p);
3900float2 const_func __attribute__((overloadable)) fast_normalize(float2 p);
3901float3 const_func __attribute__((overloadable)) fast_normalize(float3 p);
3902float4 const_func __attribute__((overloadable)) fast_normalize(float4 p);
3903
3904// Relational functions:
3905
3906/**
3907 * intn isequal (floatn x, floatn y)
3908 * Returns the component-wise compare of x == y.
3909 */
3910int const_func __attribute__((overloadable)) isequal(float x, float y);
3911int2 const_func __attribute__((overloadable)) isequal(float2 x, float2 y);
3912int3 const_func __attribute__((overloadable)) isequal(float3 x, float3 y);
3913int4 const_func __attribute__((overloadable)) isequal(float4 x, float4 y);
3914int8 const_func __attribute__((overloadable)) isequal(float8 x, float8 y);
3915int16 const_func __attribute__((overloadable)) isequal(float16 x, float16 y);
3916int const_func __attribute__((overloadable)) isequal(double x, double y);
3917long2 const_func __attribute__((overloadable)) isequal(double2 x, double2 y);
3918long3 const_func __attribute__((overloadable)) isequal(double3 x, double3 y);
3919long4 const_func __attribute__((overloadable)) isequal(double4 x, double4 y);
3920long8 const_func __attribute__((overloadable)) isequal(double8 x, double8 y);
3921long16 const_func __attribute__((overloadable)) isequal(double16 x, double16 y);
3922//int const_func __attribute__((overloadable)) isequal(half x, half y);
3923//short2 const_func __attribute__((overloadable)) isequal(half2 x, half2 y);
3924//short3 const_func __attribute__((overloadable)) isequal(half3 x, half3 y);
3925//short4 const_func __attribute__((overloadable)) isequal(half4 x, half4 y);
3926//short8 const_func __attribute__((overloadable)) isequal(half8 x, half8 y);
3927//short16 const_func __attribute__((overloadable)) isequal(half16 x, half16 y);
3928
3929/**
3930 * Returns the component-wise compare of x != y.
3931 */
3932int const_func __attribute__((overloadable)) isnotequal(float x, float y);
3933int2 const_func __attribute__((overloadable)) isnotequal(float2 x, float2 y);
3934int3 const_func __attribute__((overloadable)) isnotequal(float3 x, float3 y);
3935int4 const_func __attribute__((overloadable)) isnotequal(float4 x, float4 y);
3936int8 const_func __attribute__((overloadable)) isnotequal(float8 x, float8 y);
3937int16 const_func __attribute__((overloadable)) isnotequal(float16 x, float16 y);
3938int const_func __attribute__((overloadable)) isnotequal(double x, double y);
3939long2 const_func __attribute__((overloadable)) isnotequal(double2 x, double2 y);
3940long3 const_func __attribute__((overloadable)) isnotequal(double3 x, double3 y);
3941long4 const_func __attribute__((overloadable)) isnotequal(double4 x, double4 y);
3942long8 const_func __attribute__((overloadable)) isnotequal(double8 x, double8 y);
3943long16 const_func __attribute__((overloadable)) isnotequal(double16 x, double16 y);
3944//int const_func __attribute__((overloadable)) isnotequal(half x, half y);
3945//short2 const_func __attribute__((overloadable)) isnotequal(half2 x, half2 y);
3946//short3 const_func __attribute__((overloadable)) isnotequal(half3 x, half3 y);
3947//short4 const_func __attribute__((overloadable)) isnotequal(half4 x, half4 y);
3948//short8 const_func __attribute__((overloadable)) isnotequal(half8 x, half8 y);
3949//short16 const_func __attribute__((overloadable)) isnotequal(half16 x, half16 y);
3950
3951/**
3952 * Returns the component-wise compare of x > y.
3953 */
3954int const_func __attribute__((overloadable)) isgreater(float x, float y);
3955int2 const_func __attribute__((overloadable)) isgreater(float2 x, float2 y);
3956int3 const_func __attribute__((overloadable)) isgreater(float3 x, float3 y);
3957int4 const_func __attribute__((overloadable)) isgreater(float4 x, float4 y);
3958int8 const_func __attribute__((overloadable)) isgreater(float8 x, float8 y);
3959int16 const_func __attribute__((overloadable)) isgreater(float16 x, float16 y);
3960int const_func __attribute__((overloadable)) isgreater(double x, double y);
3961long2 const_func __attribute__((overloadable)) isgreater(double2 x, double2 y);
3962long3 const_func __attribute__((overloadable)) isgreater(double3 x, double3 y);
3963long4 const_func __attribute__((overloadable)) isgreater(double4 x, double4 y);
3964long8 const_func __attribute__((overloadable)) isgreater(double8 x, double8 y);
3965long16 const_func __attribute__((overloadable)) isgreater(double16 x, double16 y);
3966//int const_func __attribute__((overloadable)) isgreater(half x, half y);
3967//short2 const_func __attribute__((overloadable)) isgreater(half2 x, half2 y);
3968//short3 const_func __attribute__((overloadable)) isgreater(half3 x, half3 y);
3969//short4 const_func __attribute__((overloadable)) isgreater(half4 x, half4 y);
3970//short8 const_func __attribute__((overloadable)) isgreater(half8 x, half8 y);
3971//short16 const_func __attribute__((overloadable)) isgreater(half16 x, half16 y);
3972
3973/**
3974 * Returns the component-wise compare of x >= y.
3975 */
3976int const_func __attribute__((overloadable)) isgreaterequal(float x, float y);
3977int2 const_func __attribute__((overloadable)) isgreaterequal(float2 x, float2 y);
3978int3 const_func __attribute__((overloadable)) isgreaterequal(float3 x, float3 y);
3979int4 const_func __attribute__((overloadable)) isgreaterequal(float4 x, float4 y);
3980int8 const_func __attribute__((overloadable)) isgreaterequal(float8 x, float8 y);
3981int16 const_func __attribute__((overloadable)) isgreaterequal(float16 x, float16 y);
3982int const_func __attribute__((overloadable)) isgreaterequal(double x, double y);
3983long2 const_func __attribute__((overloadable)) isgreaterequal(double2 x, double2 y);
3984long3 const_func __attribute__((overloadable)) isgreaterequal(double3 x, double3 y);
3985long4 const_func __attribute__((overloadable)) isgreaterequal(double4 x, double4 y);
3986long8 const_func __attribute__((overloadable)) isgreaterequal(double8 x, double8 y);
3987long16 const_func __attribute__((overloadable)) isgreaterequal(double16 x, double16 y);
3988//int const_func __attribute__((overloadable)) isgreaterequal(half x, half y);
3989//short2 const_func __attribute__((overloadable)) isgreaterequal(half2 x, half2 y);
3990//short3 const_func __attribute__((overloadable)) isgreaterequal(half3 x, half3 y);
3991//short4 const_func __attribute__((overloadable)) isgreaterequal(half4 x, half4 y);
3992//short8 const_func __attribute__((overloadable)) isgreaterequal(half8 x, half8 y);
3993//short16 const_func __attribute__((overloadable)) isgreaterequal(half16 x, half16 y);
3994
3995/**
3996 * Returns the component-wise compare of x < y.
3997 */
3998int const_func __attribute__((overloadable)) isless(float x, float y);
3999int2 const_func __attribute__((overloadable)) isless(float2 x, float2 y);
4000int3 const_func __attribute__((overloadable)) isless(float3 x, float3 y);
4001int4 const_func __attribute__((overloadable)) isless(float4 x, float4 y);
4002int8 const_func __attribute__((overloadable)) isless(float8 x, float8 y);
4003int16 const_func __attribute__((overloadable)) isless(float16 x, float16 y);
4004int const_func __attribute__((overloadable)) isless(double x, double y);
4005long2 const_func __attribute__((overloadable)) isless(double2 x, double2 y);
4006long3 const_func __attribute__((overloadable)) isless(double3 x, double3 y);
4007long4 const_func __attribute__((overloadable)) isless(double4 x, double4 y);
4008long8 const_func __attribute__((overloadable)) isless(double8 x, double8 y);
4009long16 const_func __attribute__((overloadable)) isless(double16 x, double16 y);
4010//int const_func __attribute__((overloadable)) isless(half x, half y);
4011//short2 const_func __attribute__((overloadable)) isless(half2 x, half2 y);
4012//short3 const_func __attribute__((overloadable)) isless(half3 x, half3 y);
4013//short4 const_func __attribute__((overloadable)) isless(half4 x, half4 y);
4014//short8 const_func __attribute__((overloadable)) isless(half8 x, half8 y);
4015//short16 const_func __attribute__((overloadable)) isless(half16 x, half16 y);
4016
4017/**
4018 * Returns the component-wise compare of x <= y.
4019 */
4020int const_func __attribute__((overloadable)) islessequal(float x, float y);
4021int2 const_func __attribute__((overloadable)) islessequal(float2 x, float2 y);
4022int3 const_func __attribute__((overloadable)) islessequal(float3 x, float3 y);
4023int4 const_func __attribute__((overloadable)) islessequal(float4 x, float4 y);
4024int8 const_func __attribute__((overloadable)) islessequal(float8 x, float8 y);
4025int16 const_func __attribute__((overloadable)) islessequal(float16 x, float16 y);
4026int const_func __attribute__((overloadable)) islessequal(double x, double y);
4027long2 const_func __attribute__((overloadable)) islessequal(double2 x, double2 y);
4028long3 const_func __attribute__((overloadable)) islessequal(double3 x, double3 y);
4029long4 const_func __attribute__((overloadable)) islessequal(double4 x, double4 y);
4030long8 const_func __attribute__((overloadable)) islessequal(double8 x, double8 y);
4031long16 const_func __attribute__((overloadable)) islessequal(double16 x, double16 y);
4032//int const_func __attribute__((overloadable)) islessequal(half x, half y);
4033//short2 const_func __attribute__((overloadable)) islessequal(half2 x, half2 y);
4034//short3 const_func __attribute__((overloadable)) islessequal(half3 x, half3 y);
4035//short4 const_func __attribute__((overloadable)) islessequal(half4 x, half4 y);
4036//short8 const_func __attribute__((overloadable)) islessequal(half8 x, half8 y);
4037//short16 const_func __attribute__((overloadable)) islessequal(half16 x, half16 y);
4038
4039/**
4040 * Returns the component-wise compare of
4041 * (x < y) || (x > y) .
4042 */
4043int const_func __attribute__((overloadable)) islessgreater(float x, float y);
4044int2 const_func __attribute__((overloadable)) islessgreater(float2 x, float2 y);
4045int3 const_func __attribute__((overloadable)) islessgreater(float3 x, float3 y);
4046int4 const_func __attribute__((overloadable)) islessgreater(float4 x, float4 y);
4047int8 const_func __attribute__((overloadable)) islessgreater(float8 x, float8 y);
4048int16 const_func __attribute__((overloadable)) islessgreater(float16 x, float16 y);
4049int const_func __attribute__((overloadable)) islessgreater(double x, double y);
4050long2 const_func __attribute__((overloadable)) islessgreater(double2 x, double2 y);
4051long3 const_func __attribute__((overloadable)) islessgreater(double3 x, double3 y);
4052long4 const_func __attribute__((overloadable)) islessgreater(double4 x, double4 y);
4053long8 const_func __attribute__((overloadable)) islessgreater(double8 x, double8 y);
4054long16 const_func __attribute__((overloadable)) islessgreater(double16 x, double16 y);
4055//int const_func __attribute__((overloadable)) islessgreater(half x, half y);
4056//short2 const_func __attribute__((overloadable)) islessgreater(half2 x, half2 y);
4057//short3 const_func __attribute__((overloadable)) islessgreater(half3 x, half3 y);
4058//short4 const_func __attribute__((overloadable)) islessgreater(half4 x, half4 y);
4059//short8 const_func __attribute__((overloadable)) islessgreater(half8 x, half8 y);
4060//short16 const_func __attribute__((overloadable)) islessgreater(half16 x, half16 y);
4061
4062/**
4063 * Test for finite value.
4064 */
4065int const_func __attribute__((overloadable)) isfinite(float);
4066int2 const_func __attribute__((overloadable)) isfinite(float2);
4067int3 const_func __attribute__((overloadable)) isfinite(float3);
4068int4 const_func __attribute__((overloadable)) isfinite(float4);
4069int8 const_func __attribute__((overloadable)) isfinite(float8);
4070int16 const_func __attribute__((overloadable)) isfinite(float16);
4071int const_func __attribute__((overloadable)) isfinite(double);
4072long2 const_func __attribute__((overloadable)) isfinite(double2);
4073long3 const_func __attribute__((overloadable)) isfinite(double3);
4074long4 const_func __attribute__((overloadable)) isfinite(double4);
4075long8 const_func __attribute__((overloadable)) isfinite(double8);
4076long16 const_func __attribute__((overloadable)) isfinite(double16);
4077//int const_func __attribute__((overloadable)) isfinite(half);
4078//short2 const_func __attribute__((overloadable)) isfinite(half2);
4079//short3 const_func __attribute__((overloadable)) isfinite(half3);
4080//short4 const_func __attribute__((overloadable)) isfinite(half4);
4081//short8 const_func __attribute__((overloadable)) isfinite(half8);
4082//short16 const_func __attribute__((overloadable)) isfinite(half16);
4083
4084/**
4085 * Test for infinity value (+ve or –ve) .
4086 */
4087int const_func __attribute__((overloadable)) isinf(float);
4088int2 const_func __attribute__((overloadable)) isinf(float2);
4089int3 const_func __attribute__((overloadable)) isinf(float3);
4090int4 const_func __attribute__((overloadable)) isinf(float4);
4091int8 const_func __attribute__((overloadable)) isinf(float8);
4092int16 const_func __attribute__((overloadable)) isinf(float16);
4093int const_func __attribute__((overloadable)) isinf(double);
4094long2 const_func __attribute__((overloadable)) isinf(double2);
4095long3 const_func __attribute__((overloadable)) isinf(double3);
4096long4 const_func __attribute__((overloadable)) isinf(double4);
4097long8 const_func __attribute__((overloadable)) isinf(double8);
4098long16 const_func __attribute__((overloadable)) isinf(double16);
4099//int const_func __attribute__((overloadable)) isinf(half);
4100//short2 const_func __attribute__((overloadable)) isinf(half2);
4101//short3 const_func __attribute__((overloadable)) isinf(half3);
4102//short4 const_func __attribute__((overloadable)) isinf(half4);
4103//short8 const_func __attribute__((overloadable)) isinf(half8);
4104//short16 const_func __attribute__((overloadable)) isinf(half16);
4105
4106/**
4107 * Test for a NaN.
4108 */
4109int const_func __attribute__((overloadable)) isnan(float);
4110int2 const_func __attribute__((overloadable)) isnan(float2);
4111int3 const_func __attribute__((overloadable)) isnan(float3);
4112int4 const_func __attribute__((overloadable)) isnan(float4);
4113int8 const_func __attribute__((overloadable)) isnan(float8);
4114int16 const_func __attribute__((overloadable)) isnan(float16);
4115int const_func __attribute__((overloadable)) isnan(double);
4116long2 const_func __attribute__((overloadable)) isnan(double2);
4117long3 const_func __attribute__((overloadable)) isnan(double3);
4118long4 const_func __attribute__((overloadable)) isnan(double4);
4119long8 const_func __attribute__((overloadable)) isnan(double8);
4120long16 const_func __attribute__((overloadable)) isnan(double16);
4121//int const_func __attribute__((overloadable)) isnan(half);
4122//short2 const_func __attribute__((overloadable)) isnan(half2);
4123//short3 const_func __attribute__((overloadable)) isnan(half3);
4124//short4 const_func __attribute__((overloadable)) isnan(half4);
4125//short8 const_func __attribute__((overloadable)) isnan(half8);
4126//short16 const_func __attribute__((overloadable)) isnan(half16);
4127
4128/**
4129 * Test for a normal value.
4130 */
4131int const_func __attribute__((overloadable)) isnormal(float);
4132int2 const_func __attribute__((overloadable)) isnormal(float2);
4133int3 const_func __attribute__((overloadable)) isnormal(float3);
4134int4 const_func __attribute__((overloadable)) isnormal(float4);
4135int8 const_func __attribute__((overloadable)) isnormal(float8);
4136int16 const_func __attribute__((overloadable)) isnormal(float16);
4137int const_func __attribute__((overloadable)) isnormal(double);
4138long2 const_func __attribute__((overloadable)) isnormal(double2);
4139long3 const_func __attribute__((overloadable)) isnormal(double3);
4140long4 const_func __attribute__((overloadable)) isnormal(double4);
4141long8 const_func __attribute__((overloadable)) isnormal(double8);
4142long16 const_func __attribute__((overloadable)) isnormal(double16);
4143//int const_func __attribute__((overloadable)) isnormal(half);
4144//short2 const_func __attribute__((overloadable)) isnormal(half2);
4145//short3 const_func __attribute__((overloadable)) isnormal(half3);
4146//short4 const_func __attribute__((overloadable)) isnormal(half4);
4147//short8 const_func __attribute__((overloadable)) isnormal(half8);
4148//short16 const_func __attribute__((overloadable)) isnormal(half16);
4149
4150/**
4151 * Test if arguments are ordered. isordered() takes
4152 * arguments x and y, and returns the result
4153 * isequal(x, x) && isequal(y, y).
4154 */
4155int const_func __attribute__((overloadable)) isordered(float x, float y);
4156int2 const_func __attribute__((overloadable)) isordered(float2 x, float2 y);
4157int3 const_func __attribute__((overloadable)) isordered(float3 x, float3 y);
4158int4 const_func __attribute__((overloadable)) isordered(float4 x, float4 y);
4159int8 const_func __attribute__((overloadable)) isordered(float8 x, float8 y);
4160int16 const_func __attribute__((overloadable)) isordered(float16 x, float16 y);
4161int const_func __attribute__((overloadable)) isordered(double x, double y);
4162long2 const_func __attribute__((overloadable)) isordered(double2 x, double2 y);
4163long3 const_func __attribute__((overloadable)) isordered(double3 x, double3 y);
4164long4 const_func __attribute__((overloadable)) isordered(double4 x, double4 y);
4165long8 const_func __attribute__((overloadable)) isordered(double8 x, double8 y);
4166long16 const_func __attribute__((overloadable)) isordered(double16 x, double16 y);
4167//int const_func __attribute__((overloadable)) isordered(half x, half y);
4168//short2 const_func __attribute__((overloadable)) isordered(half2 x, half2 y);
4169//short3 const_func __attribute__((overloadable)) isordered(half3 x, half3 y);
4170//short4 const_func __attribute__((overloadable)) isordered(half4 x, half4 y);
4171//short8 const_func __attribute__((overloadable)) isordered(half8 x, half8 y);
4172//short16 const_func __attribute__((overloadable)) isordered(half16 x, half16 y);
4173
4174/**
4175 * Test if arguments are unordered. isunordered()
4176 * takes arguments x and y, returning non-zero if x or y
4177 * is NaN, and zero otherwise.
4178 */
4179int const_func __attribute__((overloadable)) isunordered(float x, float y);
4180int2 const_func __attribute__((overloadable)) isunordered(float2 x, float2 y);
4181int3 const_func __attribute__((overloadable)) isunordered(float3 x, float3 y);
4182int4 const_func __attribute__((overloadable)) isunordered(float4 x, float4 y);
4183int8 const_func __attribute__((overloadable)) isunordered(float8 x, float8 y);
4184int16 const_func __attribute__((overloadable)) isunordered(float16 x, float16 y);
4185int const_func __attribute__((overloadable)) isunordered(double x, double y);
4186long2 const_func __attribute__((overloadable)) isunordered(double2 x, double2 y);
4187long3 const_func __attribute__((overloadable)) isunordered(double3 x, double3 y);
4188long4 const_func __attribute__((overloadable)) isunordered(double4 x, double4 y);
4189long8 const_func __attribute__((overloadable)) isunordered(double8 x, double8 y);
4190long16 const_func __attribute__((overloadable)) isunordered(double16 x, double16 y);
4191//int const_func __attribute__((overloadable)) isunordered(half x, half y);
4192//short2 const_func __attribute__((overloadable)) isunordered(half2 x, half2 y);
4193//short3 const_func __attribute__((overloadable)) isunordered(half3 x, half3 y);
4194//short4 const_func __attribute__((overloadable)) isunordered(half4 x, half4 y);
4195//short8 const_func __attribute__((overloadable)) isunordered(half8 x, half8 y);
4196//short16 const_func __attribute__((overloadable)) isunordered(half16 x, half16 y);
4197
4198/**
4199 * Test for sign bit. The scalar version of the function
4200 * returns a 1 if the sign bit in the float is set else returns
4201 * 0. The vector version of the function returns the
4202 * following for each component in floatn: a -1 if the
4203 * sign bit in the float is set else returns 0.
4204 */
4205int const_func __attribute__((overloadable)) signbit(float);
4206int2 const_func __attribute__((overloadable)) signbit(float2);
4207int3 const_func __attribute__((overloadable)) signbit(float3);
4208int4 const_func __attribute__((overloadable)) signbit(float4);
4209int8 const_func __attribute__((overloadable)) signbit(float8);
4210int16 const_func __attribute__((overloadable)) signbit(float16);
4211int const_func __attribute__((overloadable)) signbit(double);
4212long2 const_func __attribute__((overloadable)) signbit(double2);
4213long3 const_func __attribute__((overloadable)) signbit(double3);
4214long4 const_func __attribute__((overloadable)) signbit(double4);
4215long8 const_func __attribute__((overloadable)) signbit(double8);
4216long16 const_func __attribute__((overloadable)) signbit(double16);
4217//int const_func __attribute__((overloadable)) signbit(half);
4218//short2 const_func __attribute__((overloadable)) signbit(half2);
4219//short3 const_func __attribute__((overloadable)) signbit(half3);
4220//short4 const_func __attribute__((overloadable)) signbit(half4);
4221//short8 const_func __attribute__((overloadable)) signbit(half8);
4222//short16 const_func __attribute__((overloadable)) signbit(half16);
4223
4224/**
4225 * Returns 1 if the most significant bit in any component
4226 * of x is set; otherwise returns 0.
4227 */
4228int const_func __attribute__((overloadable)) any(char x);
4229int const_func __attribute__((overloadable)) any(char2 x);
4230int const_func __attribute__((overloadable)) any(char3 x);
4231int const_func __attribute__((overloadable)) any(char4 x);
4232int const_func __attribute__((overloadable)) any(char8 x);
4233int const_func __attribute__((overloadable)) any(char16 x);
4234int const_func __attribute__((overloadable)) any(short x);
4235int const_func __attribute__((overloadable)) any(short2 x);
4236int const_func __attribute__((overloadable)) any(short3 x);
4237int const_func __attribute__((overloadable)) any(short4 x);
4238int const_func __attribute__((overloadable)) any(short8 x);
4239int const_func __attribute__((overloadable)) any(short16 x);
4240int const_func __attribute__((overloadable)) any(int x);
4241int const_func __attribute__((overloadable)) any(int2 x);
4242int const_func __attribute__((overloadable)) any(int3 x);
4243int const_func __attribute__((overloadable)) any(int4 x);
4244int const_func __attribute__((overloadable)) any(int8 x);
4245int const_func __attribute__((overloadable)) any(int16 x);
4246int const_func __attribute__((overloadable)) any(long x);
4247int const_func __attribute__((overloadable)) any(long2 x);
4248int const_func __attribute__((overloadable)) any(long3 x);
4249int const_func __attribute__((overloadable)) any(long4 x);
4250int const_func __attribute__((overloadable)) any(long8 x);
4251int const_func __attribute__((overloadable)) any(long16 x);
4252
4253/**
4254 * Returns 1 if the most significant bit in all components
4255 * of x is set; otherwise returns 0.
4256 */
4257int const_func __attribute__((overloadable)) all(char x);
4258int const_func __attribute__((overloadable)) all(char2 x);
4259int const_func __attribute__((overloadable)) all(char3 x);
4260int const_func __attribute__((overloadable)) all(char4 x);
4261int const_func __attribute__((overloadable)) all(char8 x);
4262int const_func __attribute__((overloadable)) all(char16 x);
4263int const_func __attribute__((overloadable)) all(short x);
4264int const_func __attribute__((overloadable)) all(short2 x);
4265int const_func __attribute__((overloadable)) all(short3 x);
4266int const_func __attribute__((overloadable)) all(short4 x);
4267int const_func __attribute__((overloadable)) all(short8 x);
4268int const_func __attribute__((overloadable)) all(short16 x);
4269int const_func __attribute__((overloadable)) all(int x);
4270int const_func __attribute__((overloadable)) all(int2 x);
4271int const_func __attribute__((overloadable)) all(int3 x);
4272int const_func __attribute__((overloadable)) all(int4 x);
4273int const_func __attribute__((overloadable)) all(int8 x);
4274int const_func __attribute__((overloadable)) all(int16 x);
4275int const_func __attribute__((overloadable)) all(long x);
4276int const_func __attribute__((overloadable)) all(long2 x);
4277int const_func __attribute__((overloadable)) all(long3 x);
4278int const_func __attribute__((overloadable)) all(long4 x);
4279int const_func __attribute__((overloadable)) all(long8 x);
4280int const_func __attribute__((overloadable)) all(long16 x);
4281
4282/**
4283 * Each bit of the result is the corresponding bit of a if
4284 * the corresponding bit of c is 0. Otherwise it is the
4285 * corresponding bit of b.
4286 */
4287char const_func __attribute__((overloadable)) bitselect(char a, char b, char c);
4288uchar const_func __attribute__((overloadable)) bitselect(uchar a, uchar b, uchar c);
4289char2 const_func __attribute__((overloadable)) bitselect(char2 a, char2 b, char2 c);
4290uchar2 const_func __attribute__((overloadable)) bitselect(uchar2 a, uchar2 b, uchar2 c);
4291char3 const_func __attribute__((overloadable)) bitselect(char3 a, char3 b, char3 c);
4292uchar3 const_func __attribute__((overloadable)) bitselect(uchar3 a, uchar3 b, uchar3 c);
4293char4 const_func __attribute__((overloadable)) bitselect(char4 a, char4 b, char4 c);
4294uchar4 const_func __attribute__((overloadable)) bitselect(uchar4 a, uchar4 b, uchar4 c);
4295char8 const_func __attribute__((overloadable)) bitselect(char8 a, char8 b, char8 c);
4296uchar8 const_func __attribute__((overloadable)) bitselect(uchar8 a, uchar8 b, uchar8 c);
4297char16 const_func __attribute__((overloadable)) bitselect(char16 a, char16 b, char16 c);
4298uchar16 const_func __attribute__((overloadable)) bitselect(uchar16 a, uchar16 b, uchar16 c);
4299short const_func __attribute__((overloadable)) bitselect(short a, short b, short c);
4300ushort const_func __attribute__((overloadable)) bitselect(ushort a, ushort b, ushort c);
4301short2 const_func __attribute__((overloadable)) bitselect(short2 a, short2 b, short2 c);
4302ushort2 const_func __attribute__((overloadable)) bitselect(ushort2 a, ushort2 b, ushort2 c);
4303short3 const_func __attribute__((overloadable)) bitselect(short3 a, short3 b, short3 c);
4304ushort3 const_func __attribute__((overloadable)) bitselect(ushort3 a, ushort3 b, ushort3 c);
4305short4 const_func __attribute__((overloadable)) bitselect(short4 a, short4 b, short4 c);
4306ushort4 const_func __attribute__((overloadable)) bitselect(ushort4 a, ushort4 b, ushort4 c);
4307short8 const_func __attribute__((overloadable)) bitselect(short8 a, short8 b, short8 c);
4308ushort8 const_func __attribute__((overloadable)) bitselect(ushort8 a, ushort8 b, ushort8 c);
4309short16 const_func __attribute__((overloadable)) bitselect(short16 a, short16 b, short16 c);
4310ushort16 const_func __attribute__((overloadable)) bitselect(ushort16 a, ushort16 b, ushort16 c);
4311int const_func __attribute__((overloadable)) bitselect(int a, int b, int c);
4312uint const_func __attribute__((overloadable)) bitselect(uint a, uint b, uint c);
4313int2 const_func __attribute__((overloadable)) bitselect(int2 a, int2 b, int2 c);
4314uint2 const_func __attribute__((overloadable)) bitselect(uint2 a, uint2 b, uint2 c);
4315int3 const_func __attribute__((overloadable)) bitselect(int3 a, int3 b, int3 c);
4316uint3 const_func __attribute__((overloadable)) bitselect(uint3 a, uint3 b, uint3 c);
4317int4 const_func __attribute__((overloadable)) bitselect(int4 a, int4 b, int4 c);
4318uint4 const_func __attribute__((overloadable)) bitselect(uint4 a, uint4 b, uint4 c);
4319int8 const_func __attribute__((overloadable)) bitselect(int8 a, int8 b, int8 c);
4320uint8 const_func __attribute__((overloadable)) bitselect(uint8 a, uint8 b, uint8 c);
4321int16 const_func __attribute__((overloadable)) bitselect(int16 a, int16 b, int16 c);
4322uint16 const_func __attribute__((overloadable)) bitselect(uint16 a, uint16 b, uint16 c);
4323long const_func __attribute__((overloadable)) bitselect(long a, long b, long c);
4324ulong const_func __attribute__((overloadable)) bitselect(ulong a, ulong b, ulong c);
4325long2 const_func __attribute__((overloadable)) bitselect(long2 a, long2 b, long2 c);
4326ulong2 const_func __attribute__((overloadable)) bitselect(ulong2 a, ulong2 b, ulong2 c);
4327long3 const_func __attribute__((overloadable)) bitselect(long3 a, long3 b, long3 c);
4328ulong3 const_func __attribute__((overloadable)) bitselect(ulong3 a, ulong3 b, ulong3 c);
4329long4 const_func __attribute__((overloadable)) bitselect(long4 a, long4 b, long4 c);
4330ulong4 const_func __attribute__((overloadable)) bitselect(ulong4 a, ulong4 b, ulong4 c);
4331long8 const_func __attribute__((overloadable)) bitselect(long8 a, long8 b, long8 c);
4332ulong8 const_func __attribute__((overloadable)) bitselect(ulong8 a, ulong8 b, ulong8 c);
4333long16 const_func __attribute__((overloadable)) bitselect(long16 a, long16 b, long16 c);
4334ulong16 const_func __attribute__((overloadable)) bitselect(ulong16 a, ulong16 b, ulong16 c);
4335float const_func __attribute__((overloadable)) bitselect(float a, float b, float c);
4336float2 const_func __attribute__((overloadable)) bitselect(float2 a, float2 b, float2 c);
4337float3 const_func __attribute__((overloadable)) bitselect(float3 a, float3 b, float3 c);
4338float4 const_func __attribute__((overloadable)) bitselect(float4 a, float4 b, float4 c);
4339float8 const_func __attribute__((overloadable)) bitselect(float8 a, float8 b, float8 c);
4340float16 const_func __attribute__((overloadable)) bitselect(float16 a, float16 b, float16 c);
4341double const_func __attribute__((overloadable)) bitselect(double a, double b, double c);
4342double2 const_func __attribute__((overloadable)) bitselect(double2 a, double2 b, double2 c);
4343double3 const_func __attribute__((overloadable)) bitselect(double3 a, double3 b, double3 c);
4344double4 const_func __attribute__((overloadable)) bitselect(double4 a, double4 b, double4 c);
4345double8 const_func __attribute__((overloadable)) bitselect(double8 a, double8 b, double8 c);
4346double16 const_func __attribute__((overloadable)) bitselect(double16 a, double16 b, double16 c);
4347//half const_func __attribute__((overloadable)) bitselect(half a, half b, half c);
4348//half2 const_func __attribute__((overloadable)) bitselect(half2 a, half2 b, half2 c);
4349//half3 const_func __attribute__((overloadable)) bitselect(half3 a, half3 b, half3 c);
4350//half4 const_func __attribute__((overloadable)) bitselect(half4 a, half4 b, half4 c);
4351//half8 const_func __attribute__((overloadable)) bitselect(half8 a, half8 b, half8 c);
4352//half16 const_func __attribute__((overloadable)) bitselect(half16 a, half16 b, half16 c);
4353
4354/**
4355 * For each component of a vector type,
4356 * result[i] = if MSB of c[i] is set ? b[i] : a[i].
4357 * For a scalar type, result = c ? b : a.
4358 */
4359char const_func __attribute__((overloadable)) select(char a, char b, char c);
4360uchar const_func __attribute__((overloadable)) select(uchar a, uchar b, char c);
4361char2 const_func __attribute__((overloadable)) select(char2 a, char2 b, char2 c);
4362uchar2 const_func __attribute__((overloadable)) select(uchar2 a, uchar2 b, char2 c);
4363char3 const_func __attribute__((overloadable)) select(char3 a, char3 b, char3 c);
4364uchar3 const_func __attribute__((overloadable)) select(uchar3 a, uchar3 b, char3 c);
4365char4 const_func __attribute__((overloadable)) select(char4 a, char4 b, char4 c);
4366uchar4 const_func __attribute__((overloadable)) select(uchar4 a, uchar4 b, char4 c);
4367char8 const_func __attribute__((overloadable)) select(char8 a, char8 b, char8 c);
4368uchar8 const_func __attribute__((overloadable)) select(uchar8 a, uchar8 b, char8 c);
4369char16 const_func __attribute__((overloadable)) select(char16 a, char16 b, char16 c);
4370uchar16 const_func __attribute__((overloadable)) select(uchar16 a, uchar16 b, char16 c);
4371short const_func __attribute__((overloadable)) select(short a, short b, char c);
4372ushort const_func __attribute__((overloadable)) select(ushort a, ushort b, char c);
4373short2 const_func __attribute__((overloadable)) select(short2 a, short2 b, char2 c);
4374ushort2 const_func __attribute__((overloadable)) select(ushort2 a, ushort2 b, char2 c);
4375short3 const_func __attribute__((overloadable)) select(short3 a, short3 b, char3 c);
4376ushort3 const_func __attribute__((overloadable)) select(ushort3 a, ushort3 b, char3 c);
4377short4 const_func __attribute__((overloadable)) select(short4 a, short4 b, char4 c);
4378ushort4 const_func __attribute__((overloadable)) select(ushort4 a, ushort4 b, char4 c);
4379short8 const_func __attribute__((overloadable)) select(short8 a, short8 b, char8 c);
4380ushort8 const_func __attribute__((overloadable)) select(ushort8 a, ushort8 b, char8 c);
4381short16 const_func __attribute__((overloadable)) select(short16 a, short16 b, char16 c);
4382ushort16 const_func __attribute__((overloadable)) select(ushort16 a, ushort16 b, char16 c);
4383int const_func __attribute__((overloadable)) select(int a, int b, char c);
4384uint const_func __attribute__((overloadable)) select(uint a, uint b, char c);
4385int2 const_func __attribute__((overloadable)) select(int2 a, int2 b, char2 c);
4386uint2 const_func __attribute__((overloadable)) select(uint2 a, uint2 b, char2 c);
4387int3 const_func __attribute__((overloadable)) select(int3 a, int3 b, char3 c);
4388uint3 const_func __attribute__((overloadable)) select(uint3 a, uint3 b, char3 c);
4389int4 const_func __attribute__((overloadable)) select(int4 a, int4 b, char4 c);
4390uint4 const_func __attribute__((overloadable)) select(uint4 a, uint4 b, char4 c);
4391int8 const_func __attribute__((overloadable)) select(int8 a, int8 b, char8 c);
4392uint8 const_func __attribute__((overloadable)) select(uint8 a, uint8 b, char8 c);
4393int16 const_func __attribute__((overloadable)) select(int16 a, int16 b, char16 c);
4394uint16 const_func __attribute__((overloadable)) select(uint16 a, uint16 b, char16 c);
4395long const_func __attribute__((overloadable)) select(long a, long b, char c);
4396ulong const_func __attribute__((overloadable)) select(ulong a, ulong b, char c);
4397long2 const_func __attribute__((overloadable)) select(long2 a, long2 b, char2 c);
4398ulong2 const_func __attribute__((overloadable)) select(ulong2 a, ulong2 b, char2 c);
4399long3 const_func __attribute__((overloadable)) select(long3 a, long3 b, char3 c);
4400ulong3 const_func __attribute__((overloadable)) select(ulong3 a, ulong3 b, char3 c);
4401long4 const_func __attribute__((overloadable)) select(long4 a, long4 b, char4 c);
4402ulong4 const_func __attribute__((overloadable)) select(ulong4 a, ulong4 b, char4 c);
4403long8 const_func __attribute__((overloadable)) select(long8 a, long8 b, char8 c);
4404ulong8 const_func __attribute__((overloadable)) select(ulong8 a, ulong8 b, char8 c);
4405long16 const_func __attribute__((overloadable)) select(long16 a, long16 b, char16 c);
4406ulong16 const_func __attribute__((overloadable)) select(ulong16 a, ulong16 b, char16 c);
4407float const_func __attribute__((overloadable)) select(float a, float b, char c);
4408float2 const_func __attribute__((overloadable)) select(float2 a, float2 b, char2 c);
4409float3 const_func __attribute__((overloadable)) select(float3 a, float3 b, char3 c);
4410float4 const_func __attribute__((overloadable)) select(float4 a, float4 b, char4 c);
4411float8 const_func __attribute__((overloadable)) select(float8 a, float8 b, char8 c);
4412float16 const_func __attribute__((overloadable)) select(float16 a, float16 b, char16 c);
4413char const_func __attribute__((overloadable)) select(char a, char b, short c);
4414uchar const_func __attribute__((overloadable)) select(uchar a, uchar b, short c);
4415char2 const_func __attribute__((overloadable)) select(char2 a, char2 b, short2 c);
4416uchar2 const_func __attribute__((overloadable)) select(uchar2 a, uchar2 b, short2 c);
4417char3 const_func __attribute__((overloadable)) select(char3 a, char3 b, short3 c);
4418uchar3 const_func __attribute__((overloadable)) select(uchar3 a, uchar3 b, short3 c);
4419char4 const_func __attribute__((overloadable)) select(char4 a, char4 b, short4 c);
4420uchar4 const_func __attribute__((overloadable)) select(uchar4 a, uchar4 b, short4 c);
4421char8 const_func __attribute__((overloadable)) select(char8 a, char8 b, short8 c);
4422uchar8 const_func __attribute__((overloadable)) select(uchar8 a, uchar8 b, short8 c);
4423char16 const_func __attribute__((overloadable)) select(char16 a, char16 b, short16 c);
4424uchar16 const_func __attribute__((overloadable)) select(uchar16 a, uchar16 b, short16 c);
4425short const_func __attribute__((overloadable)) select(short a, short b, short c);
4426ushort const_func __attribute__((overloadable)) select(ushort a, ushort b, short c);
4427short2 const_func __attribute__((overloadable)) select(short2 a, short2 b, short2 c);
4428ushort2 const_func __attribute__((overloadable)) select(ushort2 a, ushort2 b, short2 c);
4429short3 const_func __attribute__((overloadable)) select(short3 a, short3 b, short3 c);
4430ushort3 const_func __attribute__((overloadable)) select(ushort3 a, ushort3 b, short3 c);
4431short4 const_func __attribute__((overloadable)) select(short4 a, short4 b, short4 c);
4432ushort4 const_func __attribute__((overloadable)) select(ushort4 a, ushort4 b, short4 c);
4433short8 const_func __attribute__((overloadable)) select(short8 a, short8 b, short8 c);
4434ushort8 const_func __attribute__((overloadable)) select(ushort8 a, ushort8 b, short8 c);
4435short16 const_func __attribute__((overloadable)) select(short16 a, short16 b, short16 c);
4436ushort16 const_func __attribute__((overloadable)) select(ushort16 a, ushort16 b, short16 c);
4437int const_func __attribute__((overloadable)) select(int a, int b, short c);
4438uint const_func __attribute__((overloadable)) select(uint a, uint b, short c);
4439int2 const_func __attribute__((overloadable)) select(int2 a, int2 b, short2 c);
4440uint2 const_func __attribute__((overloadable)) select(uint2 a, uint2 b, short2 c);
4441int3 const_func __attribute__((overloadable)) select(int3 a, int3 b, short3 c);
4442uint3 const_func __attribute__((overloadable)) select(uint3 a, uint3 b, short3 c);
4443int4 const_func __attribute__((overloadable)) select(int4 a, int4 b, short4 c);
4444uint4 const_func __attribute__((overloadable)) select(uint4 a, uint4 b, short4 c);
4445int8 const_func __attribute__((overloadable)) select(int8 a, int8 b, short8 c);
4446uint8 const_func __attribute__((overloadable)) select(uint8 a, uint8 b, short8 c);
4447int16 const_func __attribute__((overloadable)) select(int16 a, int16 b, short16 c);
4448uint16 const_func __attribute__((overloadable)) select(uint16 a, uint16 b, short16 c);
4449long const_func __attribute__((overloadable)) select(long a, long b, short c);
4450ulong const_func __attribute__((overloadable)) select(ulong a, ulong b, short c);
4451long2 const_func __attribute__((overloadable)) select(long2 a, long2 b, short2 c);
4452ulong2 const_func __attribute__((overloadable)) select(ulong2 a, ulong2 b, short2 c);
4453long3 const_func __attribute__((overloadable)) select(long3 a, long3 b, short3 c);
4454ulong3 const_func __attribute__((overloadable)) select(ulong3 a, ulong3 b, short3 c);
4455long4 const_func __attribute__((overloadable)) select(long4 a, long4 b, short4 c);
4456ulong4 const_func __attribute__((overloadable)) select(ulong4 a, ulong4 b, short4 c);
4457long8 const_func __attribute__((overloadable)) select(long8 a, long8 b, short8 c);
4458ulong8 const_func __attribute__((overloadable)) select(ulong8 a, ulong8 b, short8 c);
4459long16 const_func __attribute__((overloadable)) select(long16 a, long16 b, short16 c);
4460ulong16 const_func __attribute__((overloadable)) select(ulong16 a, ulong16 b, short16 c);
4461float const_func __attribute__((overloadable)) select(float a, float b, short c);
4462float2 const_func __attribute__((overloadable)) select(float2 a, float2 b, short2 c);
4463float3 const_func __attribute__((overloadable)) select(float3 a, float3 b, short3 c);
4464float4 const_func __attribute__((overloadable)) select(float4 a, float4 b, short4 c);
4465float8 const_func __attribute__((overloadable)) select(float8 a, float8 b, short8 c);
4466float16 const_func __attribute__((overloadable)) select(float16 a, float16 b, short16 c);
4467char const_func __attribute__((overloadable)) select(char a, char b, int c);
4468uchar const_func __attribute__((overloadable)) select(uchar a, uchar b, int c);
4469char2 const_func __attribute__((overloadable)) select(char2 a, char2 b, int2 c);
4470uchar2 const_func __attribute__((overloadable)) select(uchar2 a, uchar2 b, int2 c);
4471char3 const_func __attribute__((overloadable)) select(char3 a, char3 b, int3 c);
4472uchar3 const_func __attribute__((overloadable)) select(uchar3 a, uchar3 b, int3 c);
4473char4 const_func __attribute__((overloadable)) select(char4 a, char4 b, int4 c);
4474uchar4 const_func __attribute__((overloadable)) select(uchar4 a, uchar4 b, int4 c);
4475char8 const_func __attribute__((overloadable)) select(char8 a, char8 b, int8 c);
4476uchar8 const_func __attribute__((overloadable)) select(uchar8 a, uchar8 b, int8 c);
4477char16 const_func __attribute__((overloadable)) select(char16 a, char16 b, int16 c);
4478uchar16 const_func __attribute__((overloadable)) select(uchar16 a, uchar16 b, int16 c);
4479short const_func __attribute__((overloadable)) select(short a, short b, int c);
4480ushort const_func __attribute__((overloadable)) select(ushort a, ushort b, int c);
4481short2 const_func __attribute__((overloadable)) select(short2 a, short2 b, int2 c);
4482ushort2 const_func __attribute__((overloadable)) select(ushort2 a, ushort2 b, int2 c);
4483short3 const_func __attribute__((overloadable)) select(short3 a, short3 b, int3 c);
4484ushort3 const_func __attribute__((overloadable)) select(ushort3 a, ushort3 b, int3 c);
4485short4 const_func __attribute__((overloadable)) select(short4 a, short4 b, int4 c);
4486ushort4 const_func __attribute__((overloadable)) select(ushort4 a, ushort4 b, int4 c);
4487short8 const_func __attribute__((overloadable)) select(short8 a, short8 b, int8 c);
4488ushort8 const_func __attribute__((overloadable)) select(ushort8 a, ushort8 b, int8 c);
4489short16 const_func __attribute__((overloadable)) select(short16 a, short16 b, int16 c);
4490ushort16 const_func __attribute__((overloadable)) select(ushort16 a, ushort16 b, int16 c);
4491int const_func __attribute__((overloadable)) select(int a, int b, int c);
4492uint const_func __attribute__((overloadable)) select(uint a, uint b, int c);
4493int2 const_func __attribute__((overloadable)) select(int2 a, int2 b, int2 c);
4494uint2 const_func __attribute__((overloadable)) select(uint2 a, uint2 b, int2 c);
4495int3 const_func __attribute__((overloadable)) select(int3 a, int3 b, int3 c);
4496uint3 const_func __attribute__((overloadable)) select(uint3 a, uint3 b, int3 c);
4497int4 const_func __attribute__((overloadable)) select(int4 a, int4 b, int4 c);
4498uint4 const_func __attribute__((overloadable)) select(uint4 a, uint4 b, int4 c);
4499int8 const_func __attribute__((overloadable)) select(int8 a, int8 b, int8 c);
4500uint8 const_func __attribute__((overloadable)) select(uint8 a, uint8 b, int8 c);
4501int16 const_func __attribute__((overloadable)) select(int16 a, int16 b, int16 c);
4502uint16 const_func __attribute__((overloadable)) select(uint16 a, uint16 b, int16 c);
4503long const_func __attribute__((overloadable)) select(long a, long b, int c);
4504ulong const_func __attribute__((overloadable)) select(ulong a, ulong b, int c);
4505long2 const_func __attribute__((overloadable)) select(long2 a, long2 b, int2 c);
4506ulong2 const_func __attribute__((overloadable)) select(ulong2 a, ulong2 b, int2 c);
4507long3 const_func __attribute__((overloadable)) select(long3 a, long3 b, int3 c);
4508ulong3 const_func __attribute__((overloadable)) select(ulong3 a, ulong3 b, int3 c);
4509long4 const_func __attribute__((overloadable)) select(long4 a, long4 b, int4 c);
4510ulong4 const_func __attribute__((overloadable)) select(ulong4 a, ulong4 b, int4 c);
4511long8 const_func __attribute__((overloadable)) select(long8 a, long8 b, int8 c);
4512ulong8 const_func __attribute__((overloadable)) select(ulong8 a, ulong8 b, int8 c);
4513long16 const_func __attribute__((overloadable)) select(long16 a, long16 b, int16 c);
4514ulong16 const_func __attribute__((overloadable)) select(ulong16 a, ulong16 b, int16 c);
4515float const_func __attribute__((overloadable)) select(float a, float b, int c);
4516float2 const_func __attribute__((overloadable)) select(float2 a, float2 b, int2 c);
4517float3 const_func __attribute__((overloadable)) select(float3 a, float3 b, int3 c);
4518float4 const_func __attribute__((overloadable)) select(float4 a, float4 b, int4 c);
4519float8 const_func __attribute__((overloadable)) select(float8 a, float8 b, int8 c);
4520float16 const_func __attribute__((overloadable)) select(float16 a, float16 b, int16 c);
4521char const_func __attribute__((overloadable)) select(char a, char b, long c);
4522uchar const_func __attribute__((overloadable)) select(uchar a, uchar b, long c);
4523char2 const_func __attribute__((overloadable)) select(char2 a, char2 b, long2 c);
4524uchar2 const_func __attribute__((overloadable)) select(uchar2 a, uchar2 b, long2 c);
4525char3 const_func __attribute__((overloadable)) select(char3 a, char3 b, long3 c);
4526uchar3 const_func __attribute__((overloadable)) select(uchar3 a, uchar3 b, long3 c);
4527char4 const_func __attribute__((overloadable)) select(char4 a, char4 b, long4 c);
4528uchar4 const_func __attribute__((overloadable)) select(uchar4 a, uchar4 b, long4 c);
4529char8 const_func __attribute__((overloadable)) select(char8 a, char8 b, long8 c);
4530uchar8 const_func __attribute__((overloadable)) select(uchar8 a, uchar8 b, long8 c);
4531char16 const_func __attribute__((overloadable)) select(char16 a, char16 b, long16 c);
4532uchar16 const_func __attribute__((overloadable)) select(uchar16 a, uchar16 b, long16 c);
4533short const_func __attribute__((overloadable)) select(short a, short b, long c);
4534ushort const_func __attribute__((overloadable)) select(ushort a, ushort b, long c);
4535short2 const_func __attribute__((overloadable)) select(short2 a, short2 b, long2 c);
4536ushort2 const_func __attribute__((overloadable)) select(ushort2 a, ushort2 b, long2 c);
4537short3 const_func __attribute__((overloadable)) select(short3 a, short3 b, long3 c);
4538ushort3 const_func __attribute__((overloadable)) select(ushort3 a, ushort3 b, long3 c);
4539short4 const_func __attribute__((overloadable)) select(short4 a, short4 b, long4 c);
4540ushort4 const_func __attribute__((overloadable)) select(ushort4 a, ushort4 b, long4 c);
4541short8 const_func __attribute__((overloadable)) select(short8 a, short8 b, long8 c);
4542ushort8 const_func __attribute__((overloadable)) select(ushort8 a, ushort8 b, long8 c);
4543short16 const_func __attribute__((overloadable)) select(short16 a, short16 b, long16 c);
4544ushort16 const_func __attribute__((overloadable)) select(ushort16 a, ushort16 b, long16 c);
4545int const_func __attribute__((overloadable)) select(int a, int b, long c);
4546uint const_func __attribute__((overloadable)) select(uint a, uint b, long c);
4547int2 const_func __attribute__((overloadable)) select(int2 a, int2 b, long2 c);
4548uint2 const_func __attribute__((overloadable)) select(uint2 a, uint2 b, long2 c);
4549int3 const_func __attribute__((overloadable)) select(int3 a, int3 b, long3 c);
4550uint3 const_func __attribute__((overloadable)) select(uint3 a, uint3 b, long3 c);
4551int4 const_func __attribute__((overloadable)) select(int4 a, int4 b, long4 c);
4552uint4 const_func __attribute__((overloadable)) select(uint4 a, uint4 b, long4 c);
4553int8 const_func __attribute__((overloadable)) select(int8 a, int8 b, long8 c);
4554uint8 const_func __attribute__((overloadable)) select(uint8 a, uint8 b, long8 c);
4555int16 const_func __attribute__((overloadable)) select(int16 a, int16 b, long16 c);
4556uint16 const_func __attribute__((overloadable)) select(uint16 a, uint16 b, long16 c);
4557long const_func __attribute__((overloadable)) select(long a, long b, long c);
4558ulong const_func __attribute__((overloadable)) select(ulong a, ulong b, long c);
4559long2 const_func __attribute__((overloadable)) select(long2 a, long2 b, long2 c);
4560ulong2 const_func __attribute__((overloadable)) select(ulong2 a, ulong2 b, long2 c);
4561long3 const_func __attribute__((overloadable)) select(long3 a, long3 b, long3 c);
4562ulong3 const_func __attribute__((overloadable)) select(ulong3 a, ulong3 b, long3 c);
4563long4 const_func __attribute__((overloadable)) select(long4 a, long4 b, long4 c);
4564ulong4 const_func __attribute__((overloadable)) select(ulong4 a, ulong4 b, long4 c);
4565long8 const_func __attribute__((overloadable)) select(long8 a, long8 b, long8 c);
4566ulong8 const_func __attribute__((overloadable)) select(ulong8 a, ulong8 b, long8 c);
4567long16 const_func __attribute__((overloadable)) select(long16 a, long16 b, long16 c);
4568ulong16 const_func __attribute__((overloadable)) select(ulong16 a, ulong16 b, long16 c);
4569float const_func __attribute__((overloadable)) select(float a, float b, long c);
4570float2 const_func __attribute__((overloadable)) select(float2 a, float2 b, long2 c);
4571float3 const_func __attribute__((overloadable)) select(float3 a, float3 b, long3 c);
4572float4 const_func __attribute__((overloadable)) select(float4 a, float4 b, long4 c);
4573float8 const_func __attribute__((overloadable)) select(float8 a, float8 b, long8 c);
4574float16 const_func __attribute__((overloadable)) select(float16 a, float16 b, long16 c);
4575char const_func __attribute__((overloadable)) select(char a, char b, uchar c);
4576uchar const_func __attribute__((overloadable)) select(uchar a, uchar b, uchar c);
4577char2 const_func __attribute__((overloadable)) select(char2 a, char2 b, uchar2 c);
4578uchar2 const_func __attribute__((overloadable)) select(uchar2 a, uchar2 b, uchar2 c);
4579char3 const_func __attribute__((overloadable)) select(char3 a, char3 b, uchar3 c);
4580uchar3 const_func __attribute__((overloadable)) select(uchar3 a, uchar3 b, uchar3 c);
4581char4 const_func __attribute__((overloadable)) select(char4 a, char4 b, uchar4 c);
4582uchar4 const_func __attribute__((overloadable)) select(uchar4 a, uchar4 b, uchar4 c);
4583char8 const_func __attribute__((overloadable)) select(char8 a, char8 b, uchar8 c);
4584uchar8 const_func __attribute__((overloadable)) select(uchar8 a, uchar8 b, uchar8 c);
4585char16 const_func __attribute__((overloadable)) select(char16 a, char16 b, uchar16 c);
4586uchar16 const_func __attribute__((overloadable)) select(uchar16 a, uchar16 b, uchar16 c);
4587short const_func __attribute__((overloadable)) select(short a, short b, uchar c);
4588ushort const_func __attribute__((overloadable)) select(ushort a, ushort b, uchar c);
4589short2 const_func __attribute__((overloadable)) select(short2 a, short2 b, uchar2 c);
4590ushort2 const_func __attribute__((overloadable)) select(ushort2 a, ushort2 b, uchar2 c);
4591short3 const_func __attribute__((overloadable)) select(short3 a, short3 b, uchar3 c);
4592ushort3 const_func __attribute__((overloadable)) select(ushort3 a, ushort3 b, uchar3 c);
4593short4 const_func __attribute__((overloadable)) select(short4 a, short4 b, uchar4 c);
4594ushort4 const_func __attribute__((overloadable)) select(ushort4 a, ushort4 b, uchar4 c);
4595short8 const_func __attribute__((overloadable)) select(short8 a, short8 b, uchar8 c);
4596ushort8 const_func __attribute__((overloadable)) select(ushort8 a, ushort8 b, uchar8 c);
4597short16 const_func __attribute__((overloadable)) select(short16 a, short16 b, uchar16 c);
4598ushort16 const_func __attribute__((overloadable)) select(ushort16 a, ushort16 b, uchar16 c);
4599int const_func __attribute__((overloadable)) select(int a, int b, uchar c);
4600uint const_func __attribute__((overloadable)) select(uint a, uint b, uchar c);
4601int2 const_func __attribute__((overloadable)) select(int2 a, int2 b, uchar2 c);
4602uint2 const_func __attribute__((overloadable)) select(uint2 a, uint2 b, uchar2 c);
4603int3 const_func __attribute__((overloadable)) select(int3 a, int3 b, uchar3 c);
4604uint3 const_func __attribute__((overloadable)) select(uint3 a, uint3 b, uchar3 c);
4605int4 const_func __attribute__((overloadable)) select(int4 a, int4 b, uchar4 c);
4606uint4 const_func __attribute__((overloadable)) select(uint4 a, uint4 b, uchar4 c);
4607int8 const_func __attribute__((overloadable)) select(int8 a, int8 b, uchar8 c);
4608uint8 const_func __attribute__((overloadable)) select(uint8 a, uint8 b, uchar8 c);
4609int16 const_func __attribute__((overloadable)) select(int16 a, int16 b, uchar16 c);
4610uint16 const_func __attribute__((overloadable)) select(uint16 a, uint16 b, uchar16 c);
4611long const_func __attribute__((overloadable)) select(long a, long b, uchar c);
4612ulong const_func __attribute__((overloadable)) select(ulong a, ulong b, uchar c);
4613long2 const_func __attribute__((overloadable)) select(long2 a, long2 b, uchar2 c);
4614ulong2 const_func __attribute__((overloadable)) select(ulong2 a, ulong2 b, uchar2 c);
4615long3 const_func __attribute__((overloadable)) select(long3 a, long3 b, uchar3 c);
4616ulong3 const_func __attribute__((overloadable)) select(ulong3 a, ulong3 b, uchar3 c);
4617long4 const_func __attribute__((overloadable)) select(long4 a, long4 b, uchar4 c);
4618ulong4 const_func __attribute__((overloadable)) select(ulong4 a, ulong4 b, uchar4 c);
4619long8 const_func __attribute__((overloadable)) select(long8 a, long8 b, uchar8 c);
4620ulong8 const_func __attribute__((overloadable)) select(ulong8 a, ulong8 b, uchar8 c);
4621long16 const_func __attribute__((overloadable)) select(long16 a, long16 b, uchar16 c);
4622ulong16 const_func __attribute__((overloadable)) select(ulong16 a, ulong16 b, uchar16 c);
4623float const_func __attribute__((overloadable)) select(float a, float b, uchar c);
4624float2 const_func __attribute__((overloadable)) select(float2 a, float2 b, uchar2 c);
4625float3 const_func __attribute__((overloadable)) select(float3 a, float3 b, uchar3 c);
4626float4 const_func __attribute__((overloadable)) select(float4 a, float4 b, uchar4 c);
4627float8 const_func __attribute__((overloadable)) select(float8 a, float8 b, uchar8 c);
4628float16 const_func __attribute__((overloadable)) select(float16 a, float16 b, uchar16 c);
4629char const_func __attribute__((overloadable)) select(char a, char b, ushort c);
4630uchar const_func __attribute__((overloadable)) select(uchar a, uchar b, ushort c);
4631char2 const_func __attribute__((overloadable)) select(char2 a, char2 b, ushort2 c);
4632uchar2 const_func __attribute__((overloadable)) select(uchar2 a, uchar2 b, ushort2 c);
4633char3 const_func __attribute__((overloadable)) select(char3 a, char3 b, ushort3 c);
4634uchar3 const_func __attribute__((overloadable)) select(uchar3 a, uchar3 b, ushort3 c);
4635char4 const_func __attribute__((overloadable)) select(char4 a, char4 b, ushort4 c);
4636uchar4 const_func __attribute__((overloadable)) select(uchar4 a, uchar4 b, ushort4 c);
4637char8 const_func __attribute__((overloadable)) select(char8 a, char8 b, ushort8 c);
4638uchar8 const_func __attribute__((overloadable)) select(uchar8 a, uchar8 b, ushort8 c);
4639char16 const_func __attribute__((overloadable)) select(char16 a, char16 b, ushort16 c);
4640uchar16 const_func __attribute__((overloadable)) select(uchar16 a, uchar16 b, ushort16 c);
4641short const_func __attribute__((overloadable)) select(short a, short b, ushort c);
4642ushort const_func __attribute__((overloadable)) select(ushort a, ushort b, ushort c);
4643short2 const_func __attribute__((overloadable)) select(short2 a, short2 b, ushort2 c);
4644ushort2 const_func __attribute__((overloadable)) select(ushort2 a, ushort2 b, ushort2 c);
4645short3 const_func __attribute__((overloadable)) select(short3 a, short3 b, ushort3 c);
4646ushort3 const_func __attribute__((overloadable)) select(ushort3 a, ushort3 b, ushort3 c);
4647short4 const_func __attribute__((overloadable)) select(short4 a, short4 b, ushort4 c);
4648ushort4 const_func __attribute__((overloadable)) select(ushort4 a, ushort4 b, ushort4 c);
4649short8 const_func __attribute__((overloadable)) select(short8 a, short8 b, ushort8 c);
4650ushort8 const_func __attribute__((overloadable)) select(ushort8 a, ushort8 b, ushort8 c);
4651short16 const_func __attribute__((overloadable)) select(short16 a, short16 b, ushort16 c);
4652ushort16 const_func __attribute__((overloadable)) select(ushort16 a, ushort16 b, ushort16 c);
4653int const_func __attribute__((overloadable)) select(int a, int b, ushort c);
4654uint const_func __attribute__((overloadable)) select(uint a, uint b, ushort c);
4655int2 const_func __attribute__((overloadable)) select(int2 a, int2 b, ushort2 c);
4656uint2 const_func __attribute__((overloadable)) select(uint2 a, uint2 b, ushort2 c);
4657int3 const_func __attribute__((overloadable)) select(int3 a, int3 b, ushort3 c);
4658uint3 const_func __attribute__((overloadable)) select(uint3 a, uint3 b, ushort3 c);
4659int4 const_func __attribute__((overloadable)) select(int4 a, int4 b, ushort4 c);
4660uint4 const_func __attribute__((overloadable)) select(uint4 a, uint4 b, ushort4 c);
4661int8 const_func __attribute__((overloadable)) select(int8 a, int8 b, ushort8 c);
4662uint8 const_func __attribute__((overloadable)) select(uint8 a, uint8 b, ushort8 c);
4663int16 const_func __attribute__((overloadable)) select(int16 a, int16 b, ushort16 c);
4664uint16 const_func __attribute__((overloadable)) select(uint16 a, uint16 b, ushort16 c);
4665long const_func __attribute__((overloadable)) select(long a, long b, ushort c);
4666ulong const_func __attribute__((overloadable)) select(ulong a, ulong b, ushort c);
4667long2 const_func __attribute__((overloadable)) select(long2 a, long2 b, ushort2 c);
4668ulong2 const_func __attribute__((overloadable)) select(ulong2 a, ulong2 b, ushort2 c);
4669long3 const_func __attribute__((overloadable)) select(long3 a, long3 b, ushort3 c);
4670ulong3 const_func __attribute__((overloadable)) select(ulong3 a, ulong3 b, ushort3 c);
4671long4 const_func __attribute__((overloadable)) select(long4 a, long4 b, ushort4 c);
4672ulong4 const_func __attribute__((overloadable)) select(ulong4 a, ulong4 b, ushort4 c);
4673long8 const_func __attribute__((overloadable)) select(long8 a, long8 b, ushort8 c);
4674ulong8 const_func __attribute__((overloadable)) select(ulong8 a, ulong8 b, ushort8 c);
4675long16 const_func __attribute__((overloadable)) select(long16 a, long16 b, ushort16 c);
4676ulong16 const_func __attribute__((overloadable)) select(ulong16 a, ulong16 b, ushort16 c);
4677float const_func __attribute__((overloadable)) select(float a, float b, ushort c);
4678float2 const_func __attribute__((overloadable)) select(float2 a, float2 b, ushort2 c);
4679float3 const_func __attribute__((overloadable)) select(float3 a, float3 b, ushort3 c);
4680float4 const_func __attribute__((overloadable)) select(float4 a, float4 b, ushort4 c);
4681float8 const_func __attribute__((overloadable)) select(float8 a, float8 b, ushort8 c);
4682float16 const_func __attribute__((overloadable)) select(float16 a, float16 b, ushort16 c);
4683char const_func __attribute__((overloadable)) select(char a, char b, uint c);
4684uchar const_func __attribute__((overloadable)) select(uchar a, uchar b, uint c);
4685char2 const_func __attribute__((overloadable)) select(char2 a, char2 b, uint2 c);
4686uchar2 const_func __attribute__((overloadable)) select(uchar2 a, uchar2 b, uint2 c);
4687char3 const_func __attribute__((overloadable)) select(char3 a, char3 b, uint3 c);
4688uchar3 const_func __attribute__((overloadable)) select(uchar3 a, uchar3 b, uint3 c);
4689char4 const_func __attribute__((overloadable)) select(char4 a, char4 b, uint4 c);
4690uchar4 const_func __attribute__((overloadable)) select(uchar4 a, uchar4 b, uint4 c);
4691char8 const_func __attribute__((overloadable)) select(char8 a, char8 b, uint8 c);
4692uchar8 const_func __attribute__((overloadable)) select(uchar8 a, uchar8 b, uint8 c);
4693char16 const_func __attribute__((overloadable)) select(char16 a, char16 b, uint16 c);
4694uchar16 const_func __attribute__((overloadable)) select(uchar16 a, uchar16 b, uint16 c);
4695short const_func __attribute__((overloadable)) select(short a, short b, uint c);
4696ushort const_func __attribute__((overloadable)) select(ushort a, ushort b, uint c);
4697short2 const_func __attribute__((overloadable)) select(short2 a, short2 b, uint2 c);
4698ushort2 const_func __attribute__((overloadable)) select(ushort2 a, ushort2 b, uint2 c);
4699short3 const_func __attribute__((overloadable)) select(short3 a, short3 b, uint3 c);
4700ushort3 const_func __attribute__((overloadable)) select(ushort3 a, ushort3 b, uint3 c);
4701short4 const_func __attribute__((overloadable)) select(short4 a, short4 b, uint4 c);
4702ushort4 const_func __attribute__((overloadable)) select(ushort4 a, ushort4 b, uint4 c);
4703short8 const_func __attribute__((overloadable)) select(short8 a, short8 b, uint8 c);
4704ushort8 const_func __attribute__((overloadable)) select(ushort8 a, ushort8 b, uint8 c);
4705short16 const_func __attribute__((overloadable)) select(short16 a, short16 b, uint16 c);
4706ushort16 const_func __attribute__((overloadable)) select(ushort16 a, ushort16 b, uint16 c);
4707int const_func __attribute__((overloadable)) select(int a, int b, uint c);
4708uint const_func __attribute__((overloadable)) select(uint a, uint b, uint c);
4709int2 const_func __attribute__((overloadable)) select(int2 a, int2 b, uint2 c);
4710uint2 const_func __attribute__((overloadable)) select(uint2 a, uint2 b, uint2 c);
4711int3 const_func __attribute__((overloadable)) select(int3 a, int3 b, uint3 c);
4712uint3 const_func __attribute__((overloadable)) select(uint3 a, uint3 b, uint3 c);
4713int4 const_func __attribute__((overloadable)) select(int4 a, int4 b, uint4 c);
4714uint4 const_func __attribute__((overloadable)) select(uint4 a, uint4 b, uint4 c);
4715int8 const_func __attribute__((overloadable)) select(int8 a, int8 b, uint8 c);
4716uint8 const_func __attribute__((overloadable)) select(uint8 a, uint8 b, uint8 c);
4717int16 const_func __attribute__((overloadable)) select(int16 a, int16 b, uint16 c);
4718uint16 const_func __attribute__((overloadable)) select(uint16 a, uint16 b, uint16 c);
4719long const_func __attribute__((overloadable)) select(long a, long b, uint c);
4720ulong const_func __attribute__((overloadable)) select(ulong a, ulong b, uint c);
4721long2 const_func __attribute__((overloadable)) select(long2 a, long2 b, uint2 c);
4722ulong2 const_func __attribute__((overloadable)) select(ulong2 a, ulong2 b, uint2 c);
4723long3 const_func __attribute__((overloadable)) select(long3 a, long3 b, uint3 c);
4724ulong3 const_func __attribute__((overloadable)) select(ulong3 a, ulong3 b, uint3 c);
4725long4 const_func __attribute__((overloadable)) select(long4 a, long4 b, uint4 c);
4726ulong4 const_func __attribute__((overloadable)) select(ulong4 a, ulong4 b, uint4 c);
4727long8 const_func __attribute__((overloadable)) select(long8 a, long8 b, uint8 c);
4728ulong8 const_func __attribute__((overloadable)) select(ulong8 a, ulong8 b, uint8 c);
4729long16 const_func __attribute__((overloadable)) select(long16 a, long16 b, uint16 c);
4730ulong16 const_func __attribute__((overloadable)) select(ulong16 a, ulong16 b, uint16 c);
4731float const_func __attribute__((overloadable)) select(float a, float b, uint c);
4732float2 const_func __attribute__((overloadable)) select(float2 a, float2 b, uint2 c);
4733float3 const_func __attribute__((overloadable)) select(float3 a, float3 b, uint3 c);
4734float4 const_func __attribute__((overloadable)) select(float4 a, float4 b, uint4 c);
4735float8 const_func __attribute__((overloadable)) select(float8 a, float8 b, uint8 c);
4736float16 const_func __attribute__((overloadable)) select(float16 a, float16 b, uint16 c);
4737char const_func __attribute__((overloadable)) select(char a, char b, ulong c);
4738uchar const_func __attribute__((overloadable)) select(uchar a, uchar b, ulong c);
4739char2 const_func __attribute__((overloadable)) select(char2 a, char2 b, ulong2 c);
4740uchar2 const_func __attribute__((overloadable)) select(uchar2 a, uchar2 b, ulong2 c);
4741char3 const_func __attribute__((overloadable)) select(char3 a, char3 b, ulong3 c);
4742uchar3 const_func __attribute__((overloadable)) select(uchar3 a, uchar3 b, ulong3 c);
4743char4 const_func __attribute__((overloadable)) select(char4 a, char4 b, ulong4 c);
4744uchar4 const_func __attribute__((overloadable)) select(uchar4 a, uchar4 b, ulong4 c);
4745char8 const_func __attribute__((overloadable)) select(char8 a, char8 b, ulong8 c);
4746uchar8 const_func __attribute__((overloadable)) select(uchar8 a, uchar8 b, ulong8 c);
4747char16 const_func __attribute__((overloadable)) select(char16 a, char16 b, ulong16 c);
4748uchar16 const_func __attribute__((overloadable)) select(uchar16 a, uchar16 b, ulong16 c);
4749short const_func __attribute__((overloadable)) select(short a, short b, ulong c);
4750ushort const_func __attribute__((overloadable)) select(ushort a, ushort b, ulong c);
4751short2 const_func __attribute__((overloadable)) select(short2 a, short2 b, ulong2 c);
4752ushort2 const_func __attribute__((overloadable)) select(ushort2 a, ushort2 b, ulong2 c);
4753short3 const_func __attribute__((overloadable)) select(short3 a, short3 b, ulong3 c);
4754ushort3 const_func __attribute__((overloadable)) select(ushort3 a, ushort3 b, ulong3 c);
4755short4 const_func __attribute__((overloadable)) select(short4 a, short4 b, ulong4 c);
4756ushort4 const_func __attribute__((overloadable)) select(ushort4 a, ushort4 b, ulong4 c);
4757short8 const_func __attribute__((overloadable)) select(short8 a, short8 b, ulong8 c);
4758ushort8 const_func __attribute__((overloadable)) select(ushort8 a, ushort8 b, ulong8 c);
4759short16 const_func __attribute__((overloadable)) select(short16 a, short16 b, ulong16 c);
4760ushort16 const_func __attribute__((overloadable)) select(ushort16 a, ushort16 b, ulong16 c);
4761int const_func __attribute__((overloadable)) select(int a, int b, ulong c);
4762uint const_func __attribute__((overloadable)) select(uint a, uint b, ulong c);
4763int2 const_func __attribute__((overloadable)) select(int2 a, int2 b, ulong2 c);
4764uint2 const_func __attribute__((overloadable)) select(uint2 a, uint2 b, ulong2 c);
4765int3 const_func __attribute__((overloadable)) select(int3 a, int3 b, ulong3 c);
4766uint3 const_func __attribute__((overloadable)) select(uint3 a, uint3 b, ulong3 c);
4767int4 const_func __attribute__((overloadable)) select(int4 a, int4 b, ulong4 c);
4768uint4 const_func __attribute__((overloadable)) select(uint4 a, uint4 b, ulong4 c);
4769int8 const_func __attribute__((overloadable)) select(int8 a, int8 b, ulong8 c);
4770uint8 const_func __attribute__((overloadable)) select(uint8 a, uint8 b, ulong8 c);
4771int16 const_func __attribute__((overloadable)) select(int16 a, int16 b, ulong16 c);
4772uint16 const_func __attribute__((overloadable)) select(uint16 a, uint16 b, ulong16 c);
4773long const_func __attribute__((overloadable)) select(long a, long b, ulong c);
4774ulong const_func __attribute__((overloadable)) select(ulong a, ulong b, ulong c);
4775long2 const_func __attribute__((overloadable)) select(long2 a, long2 b, ulong2 c);
4776ulong2 const_func __attribute__((overloadable)) select(ulong2 a, ulong2 b, ulong2 c);
4777long3 const_func __attribute__((overloadable)) select(long3 a, long3 b, ulong3 c);
4778ulong3 const_func __attribute__((overloadable)) select(ulong3 a, ulong3 b, ulong3 c);
4779long4 const_func __attribute__((overloadable)) select(long4 a, long4 b, ulong4 c);
4780ulong4 const_func __attribute__((overloadable)) select(ulong4 a, ulong4 b, ulong4 c);
4781long8 const_func __attribute__((overloadable)) select(long8 a, long8 b, ulong8 c);
4782ulong8 const_func __attribute__((overloadable)) select(ulong8 a, ulong8 b, ulong8 c);
4783long16 const_func __attribute__((overloadable)) select(long16 a, long16 b, ulong16 c);
4784ulong16 const_func __attribute__((overloadable)) select(ulong16 a, ulong16 b, ulong16 c);
4785float const_func __attribute__((overloadable)) select(float a, float b, ulong c);
4786float2 const_func __attribute__((overloadable)) select(float2 a, float2 b, ulong2 c);
4787float3 const_func __attribute__((overloadable)) select(float3 a, float3 b, ulong3 c);
4788float4 const_func __attribute__((overloadable)) select(float4 a, float4 b, ulong4 c);
4789float8 const_func __attribute__((overloadable)) select(float8 a, float8 b, ulong8 c);
4790float16 const_func __attribute__((overloadable)) select(float16 a, float16 b, ulong16 c);
4791double const_func __attribute__((overloadable)) select(double a, double b, long c);
4792double2 const_func __attribute__((overloadable)) select(double2 a, double2 b, long2 c);
4793double3 const_func __attribute__((overloadable)) select(double3 a, double3 b, long3 c);
4794double4 const_func __attribute__((overloadable)) select(double4 a, double4 b, long4 c);
4795double8 const_func __attribute__((overloadable)) select(double8 a, double8 b, long8 c);
4796double16 const_func __attribute__((overloadable)) select(double16 a, double16 b, long16 c);
4797double const_func __attribute__((overloadable)) select(double a, double b, ulong c);
4798double2 const_func __attribute__((overloadable)) select(double2 a, double2 b, ulong2 c);
4799double3 const_func __attribute__((overloadable)) select(double3 a, double3 b, ulong3 c);
4800double4 const_func __attribute__((overloadable)) select(double4 a, double4 b, ulong4 c);
4801double8 const_func __attribute__((overloadable)) select(double8 a, double8 b, ulong8 c);
4802double16 const_func __attribute__((overloadable)) select(double16 a, double16 b, ulong16 c);
4803//half const_func __attribute__((overloadable)) select(half a, half b, short c);
4804//half2 const_func __attribute__((overloadable)) select(half2 a, half2 b, short2 c);
4805//half3 const_func __attribute__((overloadable)) select(half3 a, half3 b, short3 c);
4806//half4 const_func __attribute__((overloadable)) select(half4 a, half4 b, short4 c);
4807//half8 const_func __attribute__((overloadable)) select(half8 a, half8 b, short8 c);
4808//half16 const_func __attribute__((overloadable)) select(half16 a, half16 b, short16 c);
4809//half const_func __attribute__((overloadable)) select(half a, half b, ushort c);
4810//half2 const_func __attribute__((overloadable)) select(half2 a, half2 b, ushort2 c);
4811//half3 const_func __attribute__((overloadable)) select(half3 a, half3 b, ushort3 c);
4812//half4 const_func __attribute__((overloadable)) select(half4 a, half4 b, ushort4 c);
4813//half8 const_func __attribute__((overloadable)) select(half8 a, half8 b, ushort8 c);
4814//half16 const_func __attribute__((overloadable)) select(half16 a, half16 b, ushort16 c);
4815
4816// Vector data load and store functions
4817
4818/**
4819 * Return sizeof (gentypen) bytes of data read
4820 * from address (p + (offset * n)). The address
4821 * computed as (p + (offset * n)) must be 8-bit
4822 * aligned if gentype is char, uchar; 16-bit
4823 * aligned if gentype is short, ushort; 32-bit
4824 * aligned if gentype is int, uint, float; 64-bit
4825 * aligned if gentype is long, ulong.
4826 */
4827char2 __attribute__((overloadable)) vload2(size_t offset, const __global char *p);
4828uchar2 __attribute__((overloadable)) vload2(size_t offset, const __global uchar *p);
4829short2 __attribute__((overloadable)) vload2(size_t offset, const __global short *p);
4830ushort2 __attribute__((overloadable)) vload2(size_t offset, const __global ushort *p);
4831int2 __attribute__((overloadable)) vload2(size_t offset, const __global int *p);
4832uint2 __attribute__((overloadable)) vload2(size_t offset, const __global uint *p);
4833long2 __attribute__((overloadable)) vload2(size_t offset, const __global long *p);
4834ulong2 __attribute__((overloadable)) vload2(size_t offset, const __global ulong *p);
4835float2 __attribute__((overloadable)) vload2(size_t offset, const __global float *p);
4836char3 __attribute__((overloadable)) vload3(size_t offset, const __global char *p);
4837uchar3 __attribute__((overloadable)) vload3(size_t offset, const __global uchar *p);
4838short3 __attribute__((overloadable)) vload3(size_t offset, const __global short *p);
4839ushort3 __attribute__((overloadable)) vload3(size_t offset, const __global ushort *p);
4840int3 __attribute__((overloadable)) vload3(size_t offset, const __global int *p);
4841uint3 __attribute__((overloadable)) vload3(size_t offset, const __global uint *p);
4842long3 __attribute__((overloadable)) vload3(size_t offset, const __global long *p);
4843ulong3 __attribute__((overloadable)) vload3(size_t offset, const __global ulong *p);
4844float3 __attribute__((overloadable)) vload3(size_t offset, const __global float *p);
4845char4 __attribute__((overloadable)) vload4(size_t offset, const __global char *p);
4846uchar4 __attribute__((overloadable)) vload4(size_t offset, const __global uchar *p);
4847short4 __attribute__((overloadable)) vload4(size_t offset, const __global short *p);
4848ushort4 __attribute__((overloadable)) vload4(size_t offset, const __global ushort *p);
4849int4 __attribute__((overloadable)) vload4(size_t offset, const __global int *p);
4850uint4 __attribute__((overloadable)) vload4(size_t offset, const __global uint *p);
4851long4 __attribute__((overloadable)) vload4(size_t offset, const __global long *p);
4852ulong4 __attribute__((overloadable)) vload4(size_t offset, const __global ulong *p);
4853float4 __attribute__((overloadable)) vload4(size_t offset, const __global float *p);
4854char8 __attribute__((overloadable)) vload8(size_t offset, const __global char *p);
4855uchar8 __attribute__((overloadable)) vload8(size_t offset, const __global uchar *p);
4856short8 __attribute__((overloadable)) vload8(size_t offset, const __global short *p);
4857ushort8 __attribute__((overloadable)) vload8(size_t offset, const __global ushort *p);
4858int8 __attribute__((overloadable)) vload8(size_t offset, const __global int *p);
4859uint8 __attribute__((overloadable)) vload8(size_t offset, const __global uint *p);
4860long8 __attribute__((overloadable)) vload8(size_t offset, const __global long *p);
4861ulong8 __attribute__((overloadable)) vload8(size_t offset, const __global ulong *p);
4862float8 __attribute__((overloadable)) vload8(size_t offset, const __global float *p);
4863char16 __attribute__((overloadable)) vload16(size_t offset, const __global char *p);
4864uchar16 __attribute__((overloadable)) vload16(size_t offset, const __global uchar *p);
4865short16 __attribute__((overloadable)) vload16(size_t offset, const __global short *p);
4866ushort16 __attribute__((overloadable)) vload16(size_t offset, const __global ushort *p);
4867int16 __attribute__((overloadable)) vload16(size_t offset, const __global int *p);
4868uint16 __attribute__((overloadable)) vload16(size_t offset, const __global uint *p);
4869long16 __attribute__((overloadable)) vload16(size_t offset, const __global long *p);
4870ulong16 __attribute__((overloadable)) vload16(size_t offset, const __global ulong *p);
4871float16 __attribute__((overloadable)) vload16(size_t offset, const __global float *p);
4872char2 __attribute__((overloadable)) vload2(size_t offset, const __local char *p);
4873uchar2 __attribute__((overloadable)) vload2(size_t offset, const __local uchar *p);
4874short2 __attribute__((overloadable)) vload2(size_t offset, const __local short *p);
4875ushort2 __attribute__((overloadable)) vload2(size_t offset, const __local ushort *p);
4876int2 __attribute__((overloadable)) vload2(size_t offset, const __local int *p);
4877uint2 __attribute__((overloadable)) vload2(size_t offset, const __local uint *p);
4878long2 __attribute__((overloadable)) vload2(size_t offset, const __local long *p);
4879ulong2 __attribute__((overloadable)) vload2(size_t offset, const __local ulong *p);
4880float2 __attribute__((overloadable)) vload2(size_t offset, const __local float *p);
4881char3 __attribute__((overloadable)) vload3(size_t offset, const __local char *p);
4882uchar3 __attribute__((overloadable)) vload3(size_t offset, const __local uchar *p);
4883short3 __attribute__((overloadable)) vload3(size_t offset, const __local short *p);
4884ushort3 __attribute__((overloadable)) vload3(size_t offset, const __local ushort *p);
4885int3 __attribute__((overloadable)) vload3(size_t offset, const __local int *p);
4886uint3 __attribute__((overloadable)) vload3(size_t offset, const __local uint *p);
4887long3 __attribute__((overloadable)) vload3(size_t offset, const __local long *p);
4888ulong3 __attribute__((overloadable)) vload3(size_t offset, const __local ulong *p);
4889float3 __attribute__((overloadable)) vload3(size_t offset, const __local float *p);
4890char4 __attribute__((overloadable)) vload4(size_t offset, const __local char *p);
4891uchar4 __attribute__((overloadable)) vload4(size_t offset, const __local uchar *p);
4892short4 __attribute__((overloadable)) vload4(size_t offset, const __local short *p);
4893ushort4 __attribute__((overloadable)) vload4(size_t offset, const __local ushort *p);
4894int4 __attribute__((overloadable)) vload4(size_t offset, const __local int *p);
4895uint4 __attribute__((overloadable)) vload4(size_t offset, const __local uint *p);
4896long4 __attribute__((overloadable)) vload4(size_t offset, const __local long *p);
4897ulong4 __attribute__((overloadable)) vload4(size_t offset, const __local ulong *p);
4898float4 __attribute__((overloadable)) vload4(size_t offset, const __local float *p);
4899char8 __attribute__((overloadable)) vload8(size_t offset, const __local char *p);
4900uchar8 __attribute__((overloadable)) vload8(size_t offset, const __local uchar *p);
4901short8 __attribute__((overloadable)) vload8(size_t offset, const __local short *p);
4902ushort8 __attribute__((overloadable)) vload8(size_t offset, const __local ushort *p);
4903int8 __attribute__((overloadable)) vload8(size_t offset, const __local int *p);
4904uint8 __attribute__((overloadable)) vload8(size_t offset, const __local uint *p);
4905long8 __attribute__((overloadable)) vload8(size_t offset, const __local long *p);
4906ulong8 __attribute__((overloadable)) vload8(size_t offset, const __local ulong *p);
4907float8 __attribute__((overloadable)) vload8(size_t offset, const __local float *p);
4908char16 __attribute__((overloadable)) vload16(size_t offset, const __local char *p);
4909uchar16 __attribute__((overloadable)) vload16(size_t offset, const __local uchar *p);
4910short16 __attribute__((overloadable)) vload16(size_t offset, const __local short *p);
4911ushort16 __attribute__((overloadable)) vload16(size_t offset, const __local ushort *p);
4912int16 __attribute__((overloadable)) vload16(size_t offset, const __local int *p);
4913uint16 __attribute__((overloadable)) vload16(size_t offset, const __local uint *p);
4914long16 __attribute__((overloadable)) vload16(size_t offset, const __local long *p);
4915ulong16 __attribute__((overloadable)) vload16(size_t offset, const __local ulong *p);
4916float16 __attribute__((overloadable)) vload16(size_t offset, const __local float *p);
4917char2 __attribute__((overloadable)) vload2(size_t offset, const __private char *p);
4918uchar2 __attribute__((overloadable)) vload2(size_t offset, const __private uchar *p);
4919short2 __attribute__((overloadable)) vload2(size_t offset, const __private short *p);
4920ushort2 __attribute__((overloadable)) vload2(size_t offset, const __private ushort *p);
4921int2 __attribute__((overloadable)) vload2(size_t offset, const __private int *p);
4922uint2 __attribute__((overloadable)) vload2(size_t offset, const __private uint *p);
4923long2 __attribute__((overloadable)) vload2(size_t offset, const __private long *p);
4924ulong2 __attribute__((overloadable)) vload2(size_t offset, const __private ulong *p);
4925float2 __attribute__((overloadable)) vload2(size_t offset, const __private float *p);
4926char3 __attribute__((overloadable)) vload3(size_t offset, const __private char *p);
4927uchar3 __attribute__((overloadable)) vload3(size_t offset, const __private uchar *p);
4928short3 __attribute__((overloadable)) vload3(size_t offset, const __private short *p);
4929ushort3 __attribute__((overloadable)) vload3(size_t offset, const __private ushort *p);
4930int3 __attribute__((overloadable)) vload3(size_t offset, const __private int *p);
4931uint3 __attribute__((overloadable)) vload3(size_t offset, const __private uint *p);
4932long3 __attribute__((overloadable)) vload3(size_t offset, const __private long *p);
4933ulong3 __attribute__((overloadable)) vload3(size_t offset, const __private ulong *p);
4934float3 __attribute__((overloadable)) vload3(size_t offset, const __private float *p);
4935char4 __attribute__((overloadable)) vload4(size_t offset, const __private char *p);
4936uchar4 __attribute__((overloadable)) vload4(size_t offset, const __private uchar *p);
4937short4 __attribute__((overloadable)) vload4(size_t offset, const __private short *p);
4938ushort4 __attribute__((overloadable)) vload4(size_t offset, const __private ushort *p);
4939int4 __attribute__((overloadable)) vload4(size_t offset, const __private int *p);
4940uint4 __attribute__((overloadable)) vload4(size_t offset, const __private uint *p);
4941long4 __attribute__((overloadable)) vload4(size_t offset, const __private long *p);
4942ulong4 __attribute__((overloadable)) vload4(size_t offset, const __private ulong *p);
4943float4 __attribute__((overloadable)) vload4(size_t offset, const __private float *p);
4944char8 __attribute__((overloadable)) vload8(size_t offset, const __private char *p);
4945uchar8 __attribute__((overloadable)) vload8(size_t offset, const __private uchar *p);
4946short8 __attribute__((overloadable)) vload8(size_t offset, const __private short *p);
4947ushort8 __attribute__((overloadable)) vload8(size_t offset, const __private ushort *p);
4948int8 __attribute__((overloadable)) vload8(size_t offset, const __private int *p);
4949uint8 __attribute__((overloadable)) vload8(size_t offset, const __private uint *p);
4950long8 __attribute__((overloadable)) vload8(size_t offset, const __private long *p);
4951ulong8 __attribute__((overloadable)) vload8(size_t offset, const __private ulong *p);
4952float8 __attribute__((overloadable)) vload8(size_t offset, const __private float *p);
4953char16 __attribute__((overloadable)) vload16(size_t offset, const __private char *p);
4954uchar16 __attribute__((overloadable)) vload16(size_t offset, const __private uchar *p);
4955short16 __attribute__((overloadable)) vload16(size_t offset, const __private short *p);
4956ushort16 __attribute__((overloadable)) vload16(size_t offset, const __private ushort *p);
4957int16 __attribute__((overloadable)) vload16(size_t offset, const __private int *p);
4958uint16 __attribute__((overloadable)) vload16(size_t offset, const __private uint *p);
4959long16 __attribute__((overloadable)) vload16(size_t offset, const __private long *p);
4960ulong16 __attribute__((overloadable)) vload16(size_t offset, const __private ulong *p);
4961float16 __attribute__((overloadable)) vload16(size_t offset, const __private float *p);
4962double2 __attribute__((overloadable)) vload2(size_t offset, const __global double *p);
4963double3 __attribute__((overloadable)) vload3(size_t offset, const __global double *p);
4964double4 __attribute__((overloadable)) vload4(size_t offset, const __global double *p);
4965double8 __attribute__((overloadable)) vload8(size_t offset, const __global double *p);
4966double16 __attribute__((overloadable)) vload16(size_t offset, const __global double *p);
4967double2 __attribute__((overloadable)) vload2(size_t offset, const __local double *p);
4968double3 __attribute__((overloadable)) vload3(size_t offset, const __local double *p);
4969double4 __attribute__((overloadable)) vload4(size_t offset, const __local double *p);
4970double8 __attribute__((overloadable)) vload8(size_t offset, const __local double *p);
4971double16 __attribute__((overloadable)) vload16(size_t offset, const __local double *p);
4972double2 __attribute__((overloadable)) vload2(size_t offset, const __private double *p);
4973double3 __attribute__((overloadable)) vload3(size_t offset, const __private double *p);
4974double4 __attribute__((overloadable)) vload4(size_t offset, const __private double *p);
4975double8 __attribute__((overloadable)) vload8(size_t offset, const __private double *p);
4976double16 __attribute__((overloadable)) vload16(size_t offset, const __private double *p);
4977//half __attribute__((overloadable)) vload(size_t offset, const __global half *p);
4978//half2 __attribute__((overloadable)) vload2(size_t offset, const __global half *p);
4979//half3 __attribute__((overloadable)) vload3(size_t offset, const __global half *p);
4980//half4 __attribute__((overloadable)) vload4(size_t offset, const __global half *p);
4981//half8 __attribute__((overloadable)) vload8(size_t offset, const __global half *p);
4982//half16 __attribute__((overloadable)) vload16(size_t offset, const __global half *p);
4983//half __attribute__((overloadable)) vload(size_t offset, const __local half *p);
4984//half2 __attribute__((overloadable)) vload2(size_t offset, const __local half *p);
4985//half3 __attribute__((overloadable)) vload3(size_t offset, const __local half *p);
4986//half4 __attribute__((overloadable)) vload4(size_t offset, const __local half *p);
4987//half8 __attribute__((overloadable)) vload8(size_t offset, const __local half *p);
4988//half16 __attribute__((overloadable)) vload16(size_t offset, const __local half *p);
4989//half __attribute__((overloadable)) vload(size_t offset, const __private half *p);
4990//half2 __attribute__((overloadable)) vload2(size_t offset, const __private half *p);
4991//half3 __attribute__((overloadable)) vload3(size_t offset, const __private half *p);
4992//half4 __attribute__((overloadable)) vload4(size_t offset, const __private half *p);
4993//half8 __attribute__((overloadable)) vload8(size_t offset, const __private half *p);
4994//half16 __attribute__((overloadable)) vload16(size_t offset, const __private half *p);
4995
4996char2 __attribute__((overloadable)) vload2(size_t offset, const __constant char *p);
4997uchar2 __attribute__((overloadable)) vload2(size_t offset, const __constant uchar *p);
4998short2 __attribute__((overloadable)) vload2(size_t offset, const __constant short *p);
4999ushort2 __attribute__((overloadable)) vload2(size_t offset, const __constant ushort *p);
5000int2 __attribute__((overloadable)) vload2(size_t offset, const __constant int *p);
5001uint2 __attribute__((overloadable)) vload2(size_t offset, const __constant uint *p);
5002long2 __attribute__((overloadable)) vload2(size_t offset, const __constant long *p);
5003ulong2 __attribute__((overloadable)) vload2(size_t offset, const __constant ulong *p);
5004float2 __attribute__((overloadable)) vload2(size_t offset, const __constant float *p);
5005char3 __attribute__((overloadable)) vload3(size_t offset, const __constant char *p);
5006uchar3 __attribute__((overloadable)) vload3(size_t offset, const __constant uchar *p);
5007short3 __attribute__((overloadable)) vload3(size_t offset, const __constant short *p);
5008ushort3 __attribute__((overloadable)) vload3(size_t offset, const __constant ushort *p);
5009int3 __attribute__((overloadable)) vload3(size_t offset, const __constant int *p);
5010uint3 __attribute__((overloadable)) vload3(size_t offset, const __constant uint *p);
5011long3 __attribute__((overloadable)) vload3(size_t offset, const __constant long *p);
5012ulong3 __attribute__((overloadable)) vload3(size_t offset, const __constant ulong *p);
5013float3 __attribute__((overloadable)) vload3(size_t offset, const __constant float *p);
5014char4 __attribute__((overloadable)) vload4(size_t offset, const __constant char *p);
5015uchar4 __attribute__((overloadable)) vload4(size_t offset, const __constant uchar *p);
5016short4 __attribute__((overloadable)) vload4(size_t offset, const __constant short *p);
5017ushort4 __attribute__((overloadable)) vload4(size_t offset, const __constant ushort *p);
5018int4 __attribute__((overloadable)) vload4(size_t offset, const __constant int *p);
5019uint4 __attribute__((overloadable)) vload4(size_t offset, const __constant uint *p);
5020long4 __attribute__((overloadable)) vload4(size_t offset, const __constant long *p);
5021ulong4 __attribute__((overloadable)) vload4(size_t offset, const __constant ulong *p);
5022float4 __attribute__((overloadable)) vload4(size_t offset, const __constant float *p);
5023char8 __attribute__((overloadable)) vload8(size_t offset, const __constant char *p);
5024uchar8 __attribute__((overloadable)) vload8(size_t offset, const __constant uchar *p);
5025short8 __attribute__((overloadable)) vload8(size_t offset, const __constant short *p);
5026ushort8 __attribute__((overloadable)) vload8(size_t offset, const __constant ushort *p);
5027int8 __attribute__((overloadable)) vload8(size_t offset, const __constant int *p);
5028uint8 __attribute__((overloadable)) vload8(size_t offset, const __constant uint *p);
5029long8 __attribute__((overloadable)) vload8(size_t offset, const __constant long *p);
5030ulong8 __attribute__((overloadable)) vload8(size_t offset, const __constant ulong *p);
5031float8 __attribute__((overloadable)) vload8(size_t offset, const __constant float *p);
5032char16 __attribute__((overloadable)) vload16(size_t offset, const __constant char *p);
5033uchar16 __attribute__((overloadable)) vload16(size_t offset, const __constant uchar *p);
5034short16 __attribute__((overloadable)) vload16(size_t offset, const __constant short *p);
5035ushort16 __attribute__((overloadable)) vload16(size_t offset, const __constant ushort *p);
5036int16 __attribute__((overloadable)) vload16(size_t offset, const __constant int *p);
5037uint16 __attribute__((overloadable)) vload16(size_t offset, const __constant uint *p);
5038long16 __attribute__((overloadable)) vload16(size_t offset, const __constant long *p);
5039ulong16 __attribute__((overloadable)) vload16(size_t offset, const __constant ulong *p);
5040float16 __attribute__((overloadable)) vload16(size_t offset, const __constant float *p);
5041double2 __attribute__((overloadable)) vload2(size_t offset, const __constant double *p);
5042double3 __attribute__((overloadable)) vload3(size_t offset, const __constant double *p);
5043double4 __attribute__((overloadable)) vload4(size_t offset, const __constant double *p);
5044double8 __attribute__((overloadable)) vload8(size_t offset, const __constant double *p);
5045double16 __attribute__((overloadable)) vload16(size_t offset, const __constant double *p);
5046//half __attribute__((overloadable)) vload(size_t offset, const __constant half *p);
5047//half2 __attribute__((overloadable)) vload2(size_t offset, const __constant half *p);
5048//half3 __attribute__((overloadable)) vload3(size_t offset, const __constant half *p);
5049//half4 __attribute__((overloadable)) vload4(size_t offset, const __constant half *p);
5050//half8 __attribute__((overloadable)) vload8(size_t offset, const __constant half *p);
5051//half16 __attribute__((overloadable)) vload16(size_t offset, const __constant half *p);
5052
5053/**
5054 * Write sizeof (gentypen) bytes given by data
5055 * to address (p + (offset * n)). The address
5056 * computed as (p + (offset * n)) must be 8-bit
5057 * aligned if gentype is char, uchar; 16-bit
5058 * aligned if gentype is short, ushort; 32-bit
5059 * aligned if gentype is int, uint, float; 64-bit
5060 * aligned if gentype is long, ulong.
5061 */
5062void __attribute__((overloadable)) vstore2(char2 data, size_t offset, __global char *p);
5063void __attribute__((overloadable)) vstore2(uchar2 data, size_t offset, __global uchar *p);
5064void __attribute__((overloadable)) vstore2(short2 data, size_t offset, __global short *p);
5065void __attribute__((overloadable)) vstore2(ushort2 data, size_t offset, __global ushort *p);
5066void __attribute__((overloadable)) vstore2(int2 data, size_t offset, __global int *p);
5067void __attribute__((overloadable)) vstore2(uint2 data, size_t offset, __global uint *p);
5068void __attribute__((overloadable)) vstore2(long2 data, size_t offset, __global long *p);
5069void __attribute__((overloadable)) vstore2(ulong2 data, size_t offset, __global ulong *p);
5070void __attribute__((overloadable)) vstore2(float2 data, size_t offset, __global float *p);
5071void __attribute__((overloadable)) vstore3(char3 data, size_t offset, __global char *p);
5072void __attribute__((overloadable)) vstore3(uchar3 data, size_t offset, __global uchar *p);
5073void __attribute__((overloadable)) vstore3(short3 data, size_t offset, __global short *p);
5074void __attribute__((overloadable)) vstore3(ushort3 data, size_t offset, __global ushort *p);
5075void __attribute__((overloadable)) vstore3(int3 data, size_t offset, __global int *p);
5076void __attribute__((overloadable)) vstore3(uint3 data, size_t offset, __global uint *p);
5077void __attribute__((overloadable)) vstore3(long3 data, size_t offset, __global long *p);
5078void __attribute__((overloadable)) vstore3(ulong3 data, size_t offset, __global ulong *p);
5079void __attribute__((overloadable)) vstore3(float3 data, size_t offset, __global float *p);
5080void __attribute__((overloadable)) vstore4(char4 data, size_t offset, __global char *p);
5081void __attribute__((overloadable)) vstore4(uchar4 data, size_t offset, __global uchar *p);
5082void __attribute__((overloadable)) vstore4(short4 data, size_t offset, __global short *p);
5083void __attribute__((overloadable)) vstore4(ushort4 data, size_t offset, __global ushort *p);
5084void __attribute__((overloadable)) vstore4(int4 data, size_t offset, __global int *p);
5085void __attribute__((overloadable)) vstore4(uint4 data, size_t offset, __global uint *p);
5086void __attribute__((overloadable)) vstore4(long4 data, size_t offset, __global long *p);
5087void __attribute__((overloadable)) vstore4(ulong4 data, size_t offset, __global ulong *p);
5088void __attribute__((overloadable)) vstore4(float4 data, size_t offset, __global float *p);
5089void __attribute__((overloadable)) vstore8(char8 data, size_t offset, __global char *p);
5090void __attribute__((overloadable)) vstore8(uchar8 data, size_t offset, __global uchar *p);
5091void __attribute__((overloadable)) vstore8(short8 data, size_t offset, __global short *p);
5092void __attribute__((overloadable)) vstore8(ushort8 data, size_t offset, __global ushort *p);
5093void __attribute__((overloadable)) vstore8(int8 data, size_t offset, __global int *p);
5094void __attribute__((overloadable)) vstore8(uint8 data, size_t offset, __global uint *p);
5095void __attribute__((overloadable)) vstore8(long8 data, size_t offset, __global long *p);
5096void __attribute__((overloadable)) vstore8(ulong8 data, size_t offset, __global ulong *p);
5097void __attribute__((overloadable)) vstore8(float8 data, size_t offset, __global float *p);
5098void __attribute__((overloadable)) vstore16(char16 data, size_t offset, __global char *p);
5099void __attribute__((overloadable)) vstore16(uchar16 data, size_t offset, __global uchar *p);
5100void __attribute__((overloadable)) vstore16(short16 data, size_t offset, __global short *p);
5101void __attribute__((overloadable)) vstore16(ushort16 data, size_t offset, __global ushort *p);
5102void __attribute__((overloadable)) vstore16(int16 data, size_t offset, __global int *p);
5103void __attribute__((overloadable)) vstore16(uint16 data, size_t offset, __global uint *p);
5104void __attribute__((overloadable)) vstore16(long16 data, size_t offset, __global long *p);
5105void __attribute__((overloadable)) vstore16(ulong16 data, size_t offset, __global ulong *p);
5106void __attribute__((overloadable)) vstore16(float16 data, size_t offset, __global float *p);
5107void __attribute__((overloadable)) vstore2(char2 data, size_t offset, __local char *p);
5108void __attribute__((overloadable)) vstore2(uchar2 data, size_t offset, __local uchar *p);
5109void __attribute__((overloadable)) vstore2(short2 data, size_t offset, __local short *p);
5110void __attribute__((overloadable)) vstore2(ushort2 data, size_t offset, __local ushort *p);
5111void __attribute__((overloadable)) vstore2(int2 data, size_t offset, __local int *p);
5112void __attribute__((overloadable)) vstore2(uint2 data, size_t offset, __local uint *p);
5113void __attribute__((overloadable)) vstore2(long2 data, size_t offset, __local long *p);
5114void __attribute__((overloadable)) vstore2(ulong2 data, size_t offset, __local ulong *p);
5115void __attribute__((overloadable)) vstore2(float2 data, size_t offset, __local float *p);
5116void __attribute__((overloadable)) vstore3(char3 data, size_t offset, __local char *p);
5117void __attribute__((overloadable)) vstore3(uchar3 data, size_t offset, __local uchar *p);
5118void __attribute__((overloadable)) vstore3(short3 data, size_t offset, __local short *p);
5119void __attribute__((overloadable)) vstore3(ushort3 data, size_t offset, __local ushort *p);
5120void __attribute__((overloadable)) vstore3(int3 data, size_t offset, __local int *p);
5121void __attribute__((overloadable)) vstore3(uint3 data, size_t offset, __local uint *p);
5122void __attribute__((overloadable)) vstore3(long3 data, size_t offset, __local long *p);
5123void __attribute__((overloadable)) vstore3(ulong3 data, size_t offset, __local ulong *p);
5124void __attribute__((overloadable)) vstore3(float3 data, size_t offset, __local float *p);
5125void __attribute__((overloadable)) vstore4(char4 data, size_t offset, __local char *p);
5126void __attribute__((overloadable)) vstore4(uchar4 data, size_t offset, __local uchar *p);
5127void __attribute__((overloadable)) vstore4(short4 data, size_t offset, __local short *p);
5128void __attribute__((overloadable)) vstore4(ushort4 data, size_t offset, __local ushort *p);
5129void __attribute__((overloadable)) vstore4(int4 data, size_t offset, __local int *p);
5130void __attribute__((overloadable)) vstore4(uint4 data, size_t offset, __local uint *p);
5131void __attribute__((overloadable)) vstore4(long4 data, size_t offset, __local long *p);
5132void __attribute__((overloadable)) vstore4(ulong4 data, size_t offset, __local ulong *p);
5133void __attribute__((overloadable)) vstore4(float4 data, size_t offset, __local float *p);
5134void __attribute__((overloadable)) vstore8(char8 data, size_t offset, __local char *p);
5135void __attribute__((overloadable)) vstore8(uchar8 data, size_t offset, __local uchar *p);
5136void __attribute__((overloadable)) vstore8(short8 data, size_t offset, __local short *p);
5137void __attribute__((overloadable)) vstore8(ushort8 data, size_t offset, __local ushort *p);
5138void __attribute__((overloadable)) vstore8(int8 data, size_t offset, __local int *p);
5139void __attribute__((overloadable)) vstore8(uint8 data, size_t offset, __local uint *p);
5140void __attribute__((overloadable)) vstore8(long8 data, size_t offset, __local long *p);
5141void __attribute__((overloadable)) vstore8(ulong8 data, size_t offset, __local ulong *p);
5142void __attribute__((overloadable)) vstore8(float8 data, size_t offset, __local float *p);
5143void __attribute__((overloadable)) vstore16(char16 data, size_t offset, __local char *p);
5144void __attribute__((overloadable)) vstore16(uchar16 data, size_t offset, __local uchar *p);
5145void __attribute__((overloadable)) vstore16(short16 data, size_t offset, __local short *p);
5146void __attribute__((overloadable)) vstore16(ushort16 data, size_t offset, __local ushort *p);
5147void __attribute__((overloadable)) vstore16(int16 data, size_t offset, __local int *p);
5148void __attribute__((overloadable)) vstore16(uint16 data, size_t offset, __local uint *p);
5149void __attribute__((overloadable)) vstore16(long16 data, size_t offset, __local long *p);
5150void __attribute__((overloadable)) vstore16(ulong16 data, size_t offset, __local ulong *p);
5151void __attribute__((overloadable)) vstore16(float16 data, size_t offset, __local float *p);
5152void __attribute__((overloadable)) vstore2(char2 data, size_t offset, __private char *p);
5153void __attribute__((overloadable)) vstore2(uchar2 data, size_t offset, __private uchar *p);
5154void __attribute__((overloadable)) vstore2(short2 data, size_t offset, __private short *p);
5155void __attribute__((overloadable)) vstore2(ushort2 data, size_t offset, __private ushort *p);
5156void __attribute__((overloadable)) vstore2(int2 data, size_t offset, __private int *p);
5157void __attribute__((overloadable)) vstore2(uint2 data, size_t offset, __private uint *p);
5158void __attribute__((overloadable)) vstore2(long2 data, size_t offset, __private long *p);
5159void __attribute__((overloadable)) vstore2(ulong2 data, size_t offset, __private ulong *p);
5160void __attribute__((overloadable)) vstore2(float2 data, size_t offset, __private float *p);
5161void __attribute__((overloadable)) vstore3(char3 data, size_t offset, __private char *p);
5162void __attribute__((overloadable)) vstore3(uchar3 data, size_t offset, __private uchar *p);
5163void __attribute__((overloadable)) vstore3(short3 data, size_t offset, __private short *p);
5164void __attribute__((overloadable)) vstore3(ushort3 data, size_t offset, __private ushort *p);
5165void __attribute__((overloadable)) vstore3(int3 data, size_t offset, __private int *p);
5166void __attribute__((overloadable)) vstore3(uint3 data, size_t offset, __private uint *p);
5167void __attribute__((overloadable)) vstore3(long3 data, size_t offset, __private long *p);
5168void __attribute__((overloadable)) vstore3(ulong3 data, size_t offset, __private ulong *p);
5169void __attribute__((overloadable)) vstore3(float3 data, size_t offset, __private float *p);
5170void __attribute__((overloadable)) vstore4(char4 data, size_t offset, __private char *p);
5171void __attribute__((overloadable)) vstore4(uchar4 data, size_t offset, __private uchar *p);
5172void __attribute__((overloadable)) vstore4(short4 data, size_t offset, __private short *p);
5173void __attribute__((overloadable)) vstore4(ushort4 data, size_t offset, __private ushort *p);
5174void __attribute__((overloadable)) vstore4(int4 data, size_t offset, __private int *p);
5175void __attribute__((overloadable)) vstore4(uint4 data, size_t offset, __private uint *p);
5176void __attribute__((overloadable)) vstore4(long4 data, size_t offset, __private long *p);
5177void __attribute__((overloadable)) vstore4(ulong4 data, size_t offset, __private ulong *p);
5178void __attribute__((overloadable)) vstore4(float4 data, size_t offset, __private float *p);
5179void __attribute__((overloadable)) vstore8(char8 data, size_t offset, __private char *p);
5180void __attribute__((overloadable)) vstore8(uchar8 data, size_t offset, __private uchar *p);
5181void __attribute__((overloadable)) vstore8(short8 data, size_t offset, __private short *p);
5182void __attribute__((overloadable)) vstore8(ushort8 data, size_t offset, __private ushort *p);
5183void __attribute__((overloadable)) vstore8(int8 data, size_t offset, __private int *p);
5184void __attribute__((overloadable)) vstore8(uint8 data, size_t offset, __private uint *p);
5185void __attribute__((overloadable)) vstore8(long8 data, size_t offset, __private long *p);
5186void __attribute__((overloadable)) vstore8(ulong8 data, size_t offset, __private ulong *p);
5187void __attribute__((overloadable)) vstore8(float8 data, size_t offset, __private float *p);
5188void __attribute__((overloadable)) vstore16(char16 data, size_t offset, __private char *p);
5189void __attribute__((overloadable)) vstore16(uchar16 data, size_t offset, __private uchar *p);
5190void __attribute__((overloadable)) vstore16(short16 data, size_t offset, __private short *p);
5191void __attribute__((overloadable)) vstore16(ushort16 data, size_t offset, __private ushort *p);
5192void __attribute__((overloadable)) vstore16(int16 data, size_t offset, __private int *p);
5193void __attribute__((overloadable)) vstore16(uint16 data, size_t offset, __private uint *p);
5194void __attribute__((overloadable)) vstore16(long16 data, size_t offset, __private long *p);
5195void __attribute__((overloadable)) vstore16(ulong16 data, size_t offset, __private ulong *p);
5196void __attribute__((overloadable)) vstore16(float16 data, size_t offset, __private float *p);
5197void __attribute__((overloadable)) vstore2(double2 data, size_t offset, __global double *p);
5198void __attribute__((overloadable)) vstore3(double3 data, size_t offset, __global double *p);
5199void __attribute__((overloadable)) vstore4(double4 data, size_t offset, __global double *p);
5200void __attribute__((overloadable)) vstore8(double8 data, size_t offset, __global double *p);
5201void __attribute__((overloadable)) vstore16(double16 data, size_t offset, __global double *p);
5202void __attribute__((overloadable)) vstore2(double2 data, size_t offset, __local double *p);
5203void __attribute__((overloadable)) vstore3(double3 data, size_t offset, __local double *p);
5204void __attribute__((overloadable)) vstore4(double4 data, size_t offset, __local double *p);
5205void __attribute__((overloadable)) vstore8(double8 data, size_t offset, __local double *p);
5206void __attribute__((overloadable)) vstore16(double16 data, size_t offset, __local double *p);
5207void __attribute__((overloadable)) vstore2(double2 data, size_t offset, __private double *p);
5208void __attribute__((overloadable)) vstore3(double3 data, size_t offset, __private double *p);
5209void __attribute__((overloadable)) vstore4(double4 data, size_t offset, __private double *p);
5210void __attribute__((overloadable)) vstore8(double8 data, size_t offset, __private double *p);
5211void __attribute__((overloadable)) vstore16(double16 data, size_t offset, __private double *p);
5212//void __attribute__((overloadable)) vstore(half data, size_t offset, __global half *p);
5213//void __attribute__((overloadable)) vstore2(half2 data, size_t offset, __global half *p);
5214//void __attribute__((overloadable)) vstore3(half3 data, size_t offset, __global half *p);
5215//void __attribute__((overloadable)) vstore4(half4 data, size_t offset, __global half *p);
5216//void __attribute__((overloadable)) vstore8(half8 data, size_t offset, __global half *p);
5217//void __attribute__((overloadable)) vstore16(half16 data, size_t offset, __global half *p);
5218//void __attribute__((overloadable)) vstore(half data, size_t offset, __local half *p);
5219//void __attribute__((overloadable)) vstore2(half2 data, size_t offset, __local half *p);
5220//void __attribute__((overloadable)) vstore3(half3 data, size_t offset, __local half *p);
5221//void __attribute__((overloadable)) vstore4(half4 data, size_t offset, __local half *p);
5222//void __attribute__((overloadable)) vstore8(half8 data, size_t offset, __local half *p);
5223//void __attribute__((overloadable)) vstore16(half16 data, size_t offset, __local half *p);
5224//void __attribute__((overloadable)) vstore(half data, size_t offset, __private half *p);
5225//void __attribute__((overloadable)) vstore2(half2 data, size_t offset, __private half *p);
5226//void __attribute__((overloadable)) vstore3(half3 data, size_t offset, __private half *p);
5227//void __attribute__((overloadable)) vstore4(half4 data, size_t offset, __private half *p);
5228//void __attribute__((overloadable)) vstore8(half8 data, size_t offset, __private half *p);
5229//void __attribute__((overloadable)) vstore16(half16 data, size_t offset, __private half *p);
5230
5231
5232/**
5233 * Read sizeof (half) bytes of data from address
5234 * (p + offset). The data read is interpreted as a
5235 * half value. The half value is converted to a
5236 * float value and the float value is returned.
5237 * The read address computed as (p + offset)
5238 * must be 16-bit aligned.
5239 */
5240float __attribute__((overloadable)) vload_half(size_t offset, const __global half *p);
5241float __attribute__((overloadable)) vload_half(size_t offset, const __local half *p);
5242float __attribute__((overloadable)) vload_half(size_t offset, const __private half *p);
5243float __attribute__((overloadable)) vload_half(size_t offset, const __constant half *p);
5244
5245/**
5246 * Read sizeof (halfn) bytes of data from address
5247 * (p + (offset * n)). The data read is interpreted
5248 * as a halfn value. The halfn value read is
5249 * converted to a floatn value and the floatn
5250 * value is returned. The read address computed
5251 * as (p + (offset * n)) must be 16-bit aligned.
5252 */
5253float2 __attribute__((overloadable)) vload_half2(size_t offset, const __global half *p);
5254float3 __attribute__((overloadable)) vload_half3(size_t offset, const __global half *p);
5255float4 __attribute__((overloadable)) vload_half4(size_t offset, const __global half *p);
5256float8 __attribute__((overloadable)) vload_half8(size_t offset, const __global half *p);
5257float16 __attribute__((overloadable)) vload_half16(size_t offset, const __global half *p);
5258float2 __attribute__((overloadable)) vload_half2(size_t offset, const __local half *p);
5259float3 __attribute__((overloadable)) vload_half3(size_t offset, const __local half *p);
5260float4 __attribute__((overloadable)) vload_half4(size_t offset, const __local half *p);
5261float8 __attribute__((overloadable)) vload_half8(size_t offset, const __local half *p);
5262float16 __attribute__((overloadable)) vload_half16(size_t offset, const __local half *p);
5263float2 __attribute__((overloadable)) vload_half2(size_t offset, const __private half *p);
5264float3 __attribute__((overloadable)) vload_half3(size_t offset, const __private half *p);
5265float4 __attribute__((overloadable)) vload_half4(size_t offset, const __private half *p);
5266float8 __attribute__((overloadable)) vload_half8(size_t offset, const __private half *p);
5267float16 __attribute__((overloadable)) vload_half16(size_t offset, const __private half *p);
5268float2 __attribute__((overloadable)) vload_half2(size_t offset, const __constant half *p);
5269float3 __attribute__((overloadable)) vload_half3(size_t offset, const __constant half *p);
5270float4 __attribute__((overloadable)) vload_half4(size_t offset, const __constant half *p);
5271float8 __attribute__((overloadable)) vload_half8(size_t offset, const __constant half *p);
5272float16 __attribute__((overloadable)) vload_half16(size_t offset, const __constant half *p);
5273
5274/**
5275 * The float value given by data is first
5276 * converted to a half value using the appropriate
5277 * rounding mode. The half value is then written
5278 * to address computed as (p + offset). The
5279 * address computed as (p + offset) must be 16-
5280 * bit aligned.
5281 * vstore_half use the current rounding mode.
5282 * The default current rounding mode is round to
5283 * nearest even.
5284 */
5285void __attribute__((overloadable)) vstore_half(float data, size_t offset, __global half *p);
5286void __attribute__((overloadable)) vstore_half_rte(float data, size_t offset, __global half *p);
5287void __attribute__((overloadable)) vstore_half_rtz(float data, size_t offset, __global half *p);
5288void __attribute__((overloadable)) vstore_half_rtp(float data, size_t offset, __global half *p);
5289void __attribute__((overloadable)) vstore_half_rtn(float data, size_t offset, __global half *p);
5290void __attribute__((overloadable)) vstore_half(float data, size_t offset, __local half *p);
5291void __attribute__((overloadable)) vstore_half_rte(float data, size_t offset, __local half *p);
5292void __attribute__((overloadable)) vstore_half_rtz(float data, size_t offset, __local half *p);
5293void __attribute__((overloadable)) vstore_half_rtp(float data, size_t offset, __local half *p);
5294void __attribute__((overloadable)) vstore_half_rtn(float data, size_t offset, __local half *p);
5295void __attribute__((overloadable)) vstore_half(float data, size_t offset, __private half *p);
5296void __attribute__((overloadable)) vstore_half_rte(float data, size_t offset, __private half *p);
5297void __attribute__((overloadable)) vstore_half_rtz(float data, size_t offset, __private half *p);
5298void __attribute__((overloadable)) vstore_half_rtp(float data, size_t offset, __private half *p);
5299void __attribute__((overloadable)) vstore_half_rtn(float data, size_t offset, __private half *p);
5300void __attribute__((overloadable)) vstore_half(double data, size_t offset, __global half *p);
5301void __attribute__((overloadable)) vstore_half_rte(double data, size_t offset, __global half *p);
5302void __attribute__((overloadable)) vstore_half_rtz(double data, size_t offset, __global half *p);
5303void __attribute__((overloadable)) vstore_half_rtp(double data, size_t offset, __global half *p);
5304void __attribute__((overloadable)) vstore_half_rtn(double data, size_t offset, __global half *p);
5305void __attribute__((overloadable)) vstore_half(double data, size_t offset, __local half *p);
5306void __attribute__((overloadable)) vstore_half_rte(double data, size_t offset, __local half *p);
5307void __attribute__((overloadable)) vstore_half_rtz(double data, size_t offset, __local half *p);
5308void __attribute__((overloadable)) vstore_half_rtp(double data, size_t offset, __local half *p);
5309void __attribute__((overloadable)) vstore_half_rtn(double data, size_t offset, __local half *p);
5310void __attribute__((overloadable)) vstore_half(double data, size_t offset, __private half *p);
5311void __attribute__((overloadable)) vstore_half_rte(double data, size_t offset, __private half *p);
5312void __attribute__((overloadable)) vstore_half_rtz(double data, size_t offset, __private half *p);
5313void __attribute__((overloadable)) vstore_half_rtp(double data, size_t offset, __private half *p);
5314void __attribute__((overloadable)) vstore_half_rtn(double data, size_t offset, __private half *p);
5315
5316/**
5317 * The floatn value given by data is converted to
5318 * a halfn value using the appropriate rounding
5319 * mode. The halfn value is then written to
5320 * address computed as (p + (offset * n)). The
5321 * address computed as (p + (offset * n)) must be
5322 * 16-bit aligned.
5323 * vstore_halfn uses the current rounding mode.
5324 * The default current rounding mode is round to
5325 * nearest even.
5326 */
5327void __attribute__((overloadable)) vstore_half2(float2 data, size_t offset, __global half *p);
5328void __attribute__((overloadable)) vstore_half3(float3 data, size_t offset, __global half *p);
5329void __attribute__((overloadable)) vstore_half4(float4 data, size_t offset, __global half *p);
5330void __attribute__((overloadable)) vstore_half8(float8 data, size_t offset, __global half *p);
5331void __attribute__((overloadable)) vstore_half16(float16 data, size_t offset, __global half *p);
5332void __attribute__((overloadable)) vstore_half2_rte(float2 data, size_t offset, __global half *p);
5333void __attribute__((overloadable)) vstore_half3_rte(float3 data, size_t offset, __global half *p);
5334void __attribute__((overloadable)) vstore_half4_rte(float4 data, size_t offset, __global half *p);
5335void __attribute__((overloadable)) vstore_half8_rte(float8 data, size_t offset, __global half *p);
5336void __attribute__((overloadable)) vstore_half16_rte(float16 data, size_t offset, __global half *p);
5337void __attribute__((overloadable)) vstore_half2_rtz(float2 data, size_t offset, __global half *p);
5338void __attribute__((overloadable)) vstore_half3_rtz(float3 data, size_t offset, __global half *p);
5339void __attribute__((overloadable)) vstore_half4_rtz(float4 data, size_t offset, __global half *p);
5340void __attribute__((overloadable)) vstore_half8_rtz(float8 data, size_t offset, __global half *p);
5341void __attribute__((overloadable)) vstore_half16_rtz(float16 data, size_t offset, __global half *p);
5342void __attribute__((overloadable)) vstore_half2_rtp(float2 data, size_t offset, __global half *p);
5343void __attribute__((overloadable)) vstore_half3_rtp(float3 data, size_t offset, __global half *p);
5344void __attribute__((overloadable)) vstore_half4_rtp(float4 data, size_t offset, __global half *p);
5345void __attribute__((overloadable)) vstore_half8_rtp(float8 data, size_t offset, __global half *p);
5346void __attribute__((overloadable)) vstore_half16_rtp(float16 data, size_t offset, __global half *p);
5347void __attribute__((overloadable)) vstore_half2_rtn(float2 data, size_t offset, __global half *p);
5348void __attribute__((overloadable)) vstore_half3_rtn(float3 data, size_t offset, __global half *p);
5349void __attribute__((overloadable)) vstore_half4_rtn(float4 data, size_t offset, __global half *p);
5350void __attribute__((overloadable)) vstore_half8_rtn(float8 data, size_t offset, __global half *p);
5351void __attribute__((overloadable)) vstore_half16_rtn(float16 data, size_t offset, __global half *p);
5352void __attribute__((overloadable)) vstore_half2(float2 data, size_t offset, __local half *p);
5353void __attribute__((overloadable)) vstore_half3(float3 data, size_t offset, __local half *p);
5354void __attribute__((overloadable)) vstore_half4(float4 data, size_t offset, __local half *p);
5355void __attribute__((overloadable)) vstore_half8(float8 data, size_t offset, __local half *p);
5356void __attribute__((overloadable)) vstore_half16(float16 data, size_t offset, __local half *p);
5357void __attribute__((overloadable)) vstore_half2_rte(float2 data, size_t offset, __local half *p);
5358void __attribute__((overloadable)) vstore_half3_rte(float3 data, size_t offset, __local half *p);
5359void __attribute__((overloadable)) vstore_half4_rte(float4 data, size_t offset, __local half *p);
5360void __attribute__((overloadable)) vstore_half8_rte(float8 data, size_t offset, __local half *p);
5361void __attribute__((overloadable)) vstore_half16_rte(float16 data, size_t offset, __local half *p);
5362void __attribute__((overloadable)) vstore_half2_rtz(float2 data, size_t offset, __local half *p);
5363void __attribute__((overloadable)) vstore_half3_rtz(float3 data, size_t offset, __local half *p);
5364void __attribute__((overloadable)) vstore_half4_rtz(float4 data, size_t offset, __local half *p);
5365void __attribute__((overloadable)) vstore_half8_rtz(float8 data, size_t offset, __local half *p);
5366void __attribute__((overloadable)) vstore_half16_rtz(float16 data, size_t offset, __local half *p);
5367void __attribute__((overloadable)) vstore_half2_rtp(float2 data, size_t offset, __local half *p);
5368void __attribute__((overloadable)) vstore_half3_rtp(float3 data, size_t offset, __local half *p);
5369void __attribute__((overloadable)) vstore_half4_rtp(float4 data, size_t offset, __local half *p);
5370void __attribute__((overloadable)) vstore_half8_rtp(float8 data, size_t offset, __local half *p);
5371void __attribute__((overloadable)) vstore_half16_rtp(float16 data, size_t offset, __local half *p);
5372void __attribute__((overloadable)) vstore_half2_rtn(float2 data, size_t offset, __local half *p);
5373void __attribute__((overloadable)) vstore_half3_rtn(float3 data, size_t offset, __local half *p);
5374void __attribute__((overloadable)) vstore_half4_rtn(float4 data, size_t offset, __local half *p);
5375void __attribute__((overloadable)) vstore_half8_rtn(float8 data, size_t offset, __local half *p);
5376void __attribute__((overloadable)) vstore_half16_rtn(float16 data, size_t offset, __local half *p);
5377void __attribute__((overloadable)) vstore_half2(float2 data, size_t offset, __private half *p);
5378void __attribute__((overloadable)) vstore_half3(float3 data, size_t offset, __private half *p);
5379void __attribute__((overloadable)) vstore_half4(float4 data, size_t offset, __private half *p);
5380void __attribute__((overloadable)) vstore_half8(float8 data, size_t offset, __private half *p);
5381void __attribute__((overloadable)) vstore_half16(float16 data, size_t offset, __private half *p);
5382void __attribute__((overloadable)) vstore_half2_rte(float2 data, size_t offset, __private half *p);
5383void __attribute__((overloadable)) vstore_half3_rte(float3 data, size_t offset, __private half *p);
5384void __attribute__((overloadable)) vstore_half4_rte(float4 data, size_t offset, __private half *p);
5385void __attribute__((overloadable)) vstore_half8_rte(float8 data, size_t offset, __private half *p);
5386void __attribute__((overloadable)) vstore_half16_rte(float16 data, size_t offset, __private half *p);
5387void __attribute__((overloadable)) vstore_half2_rtz(float2 data, size_t offset, __private half *p);
5388void __attribute__((overloadable)) vstore_half3_rtz(float3 data, size_t offset, __private half *p);
5389void __attribute__((overloadable)) vstore_half4_rtz(float4 data, size_t offset, __private half *p);
5390void __attribute__((overloadable)) vstore_half8_rtz(float8 data, size_t offset, __private half *p);
5391void __attribute__((overloadable)) vstore_half16_rtz(float16 data, size_t offset, __private half *p);
5392void __attribute__((overloadable)) vstore_half2_rtp(float2 data, size_t offset, __private half *p);
5393void __attribute__((overloadable)) vstore_half3_rtp(float3 data, size_t offset, __private half *p);
5394void __attribute__((overloadable)) vstore_half4_rtp(float4 data, size_t offset, __private half *p);
5395void __attribute__((overloadable)) vstore_half8_rtp(float8 data, size_t offset, __private half *p);
5396void __attribute__((overloadable)) vstore_half16_rtp(float16 data, size_t offset, __private half *p);
5397void __attribute__((overloadable)) vstore_half2_rtn(float2 data, size_t offset, __private half *p);
5398void __attribute__((overloadable)) vstore_half3_rtn(float3 data, size_t offset, __private half *p);
5399void __attribute__((overloadable)) vstore_half4_rtn(float4 data, size_t offset, __private half *p);
5400void __attribute__((overloadable)) vstore_half8_rtn(float8 data, size_t offset, __private half *p);
5401void __attribute__((overloadable)) vstore_half16_rtn(float16 data, size_t offset, __private half *p);
5402void __attribute__((overloadable)) vstore_half2(double2 data, size_t offset, __global half *p);
5403void __attribute__((overloadable)) vstore_half3(double3 data, size_t offset, __global half *p);
5404void __attribute__((overloadable)) vstore_half4(double4 data, size_t offset, __global half *p);
5405void __attribute__((overloadable)) vstore_half8(double8 data, size_t offset, __global half *p);
5406void __attribute__((overloadable)) vstore_half16(double16 data, size_t offset, __global half *p);
5407void __attribute__((overloadable)) vstore_half2_rte(double2 data, size_t offset, __global half *p);
5408void __attribute__((overloadable)) vstore_half3_rte(double3 data, size_t offset, __global half *p);
5409void __attribute__((overloadable)) vstore_half4_rte(double4 data, size_t offset, __global half *p);
5410void __attribute__((overloadable)) vstore_half8_rte(double8 data, size_t offset, __global half *p);
5411void __attribute__((overloadable)) vstore_half16_rte(double16 data, size_t offset, __global half *p);
5412void __attribute__((overloadable)) vstore_half2_rtz(double2 data, size_t offset, __global half *p);
5413void __attribute__((overloadable)) vstore_half3_rtz(double3 data, size_t offset, __global half *p);
5414void __attribute__((overloadable)) vstore_half4_rtz(double4 data, size_t offset, __global half *p);
5415void __attribute__((overloadable)) vstore_half8_rtz(double8 data, size_t offset, __global half *p);
5416void __attribute__((overloadable)) vstore_half16_rtz(double16 data, size_t offset, __global half *p);
5417void __attribute__((overloadable)) vstore_half2_rtp(double2 data, size_t offset, __global half *p);
5418void __attribute__((overloadable)) vstore_half3_rtp(double3 data, size_t offset, __global half *p);
5419void __attribute__((overloadable)) vstore_half4_rtp(double4 data, size_t offset, __global half *p);
5420void __attribute__((overloadable)) vstore_half8_rtp(double8 data, size_t offset, __global half *p);
5421void __attribute__((overloadable)) vstore_half16_rtp(double16 data, size_t offset, __global half *p);
5422void __attribute__((overloadable)) vstore_half2_rtn(double2 data, size_t offset, __global half *p);
5423void __attribute__((overloadable)) vstore_half3_rtn(double3 data, size_t offset, __global half *p);
5424void __attribute__((overloadable)) vstore_half4_rtn(double4 data, size_t offset, __global half *p);
5425void __attribute__((overloadable)) vstore_half8_rtn(double8 data, size_t offset, __global half *p);
5426void __attribute__((overloadable)) vstore_half16_rtn(double16 data, size_t offset, __global half *p);
5427void __attribute__((overloadable)) vstore_half2(double2 data, size_t offset, __local half *p);
5428void __attribute__((overloadable)) vstore_half3(double3 data, size_t offset, __local half *p);
5429void __attribute__((overloadable)) vstore_half4(double4 data, size_t offset, __local half *p);
5430void __attribute__((overloadable)) vstore_half8(double8 data, size_t offset, __local half *p);
5431void __attribute__((overloadable)) vstore_half16(double16 data, size_t offset, __local half *p);
5432void __attribute__((overloadable)) vstore_half2_rte(double2 data, size_t offset, __local half *p);
5433void __attribute__((overloadable)) vstore_half3_rte(double3 data, size_t offset, __local half *p);
5434void __attribute__((overloadable)) vstore_half4_rte(double4 data, size_t offset, __local half *p);
5435void __attribute__((overloadable)) vstore_half8_rte(double8 data, size_t offset, __local half *p);
5436void __attribute__((overloadable)) vstore_half16_rte(double16 data, size_t offset, __local half *p);
5437void __attribute__((overloadable)) vstore_half2_rtz(double2 data, size_t offset, __local half *p);
5438void __attribute__((overloadable)) vstore_half3_rtz(double3 data, size_t offset, __local half *p);
5439void __attribute__((overloadable)) vstore_half4_rtz(double4 data, size_t offset, __local half *p);
5440void __attribute__((overloadable)) vstore_half8_rtz(double8 data, size_t offset, __local half *p);
5441void __attribute__((overloadable)) vstore_half16_rtz(double16 data, size_t offset, __local half *p);
5442void __attribute__((overloadable)) vstore_half2_rtp(double2 data, size_t offset, __local half *p);
5443void __attribute__((overloadable)) vstore_half3_rtp(double3 data, size_t offset, __local half *p);
5444void __attribute__((overloadable)) vstore_half4_rtp(double4 data, size_t offset, __local half *p);
5445void __attribute__((overloadable)) vstore_half8_rtp(double8 data, size_t offset, __local half *p);
5446void __attribute__((overloadable)) vstore_half16_rtp(double16 data, size_t offset, __local half *p);
5447void __attribute__((overloadable)) vstore_half2_rtn(double2 data, size_t offset, __local half *p);
5448void __attribute__((overloadable)) vstore_half3_rtn(double3 data, size_t offset, __local half *p);
5449void __attribute__((overloadable)) vstore_half4_rtn(double4 data, size_t offset, __local half *p);
5450void __attribute__((overloadable)) vstore_half8_rtn(double8 data, size_t offset, __local half *p);
5451void __attribute__((overloadable)) vstore_half16_rtn(double16 data, size_t offset, __local half *p);
5452void __attribute__((overloadable)) vstore_half2(double2 data, size_t offset, __private half *p);
5453void __attribute__((overloadable)) vstore_half3(double3 data, size_t offset, __private half *p);
5454void __attribute__((overloadable)) vstore_half4(double4 data, size_t offset, __private half *p);
5455void __attribute__((overloadable)) vstore_half8(double8 data, size_t offset, __private half *p);
5456void __attribute__((overloadable)) vstore_half16(double16 data, size_t offset, __private half *p);
5457void __attribute__((overloadable)) vstore_half2_rte(double2 data, size_t offset, __private half *p);
5458void __attribute__((overloadable)) vstore_half3_rte(double3 data, size_t offset, __private half *p);
5459void __attribute__((overloadable)) vstore_half4_rte(double4 data, size_t offset, __private half *p);
5460void __attribute__((overloadable)) vstore_half8_rte(double8 data, size_t offset, __private half *p);
5461void __attribute__((overloadable)) vstore_half16_rte(double16 data, size_t offset, __private half *p);
5462void __attribute__((overloadable)) vstore_half2_rtz(double2 data, size_t offset, __private half *p);
5463void __attribute__((overloadable)) vstore_half3_rtz(double3 data, size_t offset, __private half *p);
5464void __attribute__((overloadable)) vstore_half4_rtz(double4 data, size_t offset, __private half *p);
5465void __attribute__((overloadable)) vstore_half8_rtz(double8 data, size_t offset, __private half *p);
5466void __attribute__((overloadable)) vstore_half16_rtz(double16 data, size_t offset, __private half *p);
5467void __attribute__((overloadable)) vstore_half2_rtp(double2 data, size_t offset, __private half *p);
5468void __attribute__((overloadable)) vstore_half3_rtp(double3 data, size_t offset, __private half *p);
5469void __attribute__((overloadable)) vstore_half4_rtp(double4 data, size_t offset, __private half *p);
5470void __attribute__((overloadable)) vstore_half8_rtp(double8 data, size_t offset, __private half *p);
5471void __attribute__((overloadable)) vstore_half16_rtp(double16 data, size_t offset, __private half *p);
5472void __attribute__((overloadable)) vstore_half2_rtn(double2 data, size_t offset, __private half *p);
5473void __attribute__((overloadable)) vstore_half3_rtn(double3 data, size_t offset, __private half *p);
5474void __attribute__((overloadable)) vstore_half4_rtn(double4 data, size_t offset, __private half *p);
5475void __attribute__((overloadable)) vstore_half8_rtn(double8 data, size_t offset, __private half *p);
5476void __attribute__((overloadable)) vstore_half16_rtn(double16 data, size_t offset, __private half *p);
5477
5478/**
5479 * For n = 1, 2, 4, 8 and 16 read sizeof (halfn)
5480 * bytes of data from address (p + (offset * n)).
5481 * The data read is interpreted as a halfn value.
5482 * The halfn value read is converted to a floatn
5483 * value and the floatn value is returned.
5484 * The address computed as (p + (offset * n))
5485 * must be aligned to sizeof (halfn) bytes.
5486 * For n = 3, vloada_half3 reads a half3 from
5487 * address (p + (offset * 4)) and returns a float3.
5488 * The address computed as (p + (offset * 4))
5489 * must be aligned to sizeof (half) * 4 bytes.
5490 */
5491float __attribute__((overloadable)) vloada_half(size_t offset, const __global half *p);
5492float2 __attribute__((overloadable)) vloada_half2(size_t offset, const __global half *p);
5493float3 __attribute__((overloadable)) vloada_half3(size_t offset, const __global half *p);
5494float4 __attribute__((overloadable)) vloada_half4(size_t offset, const __global half *p);
5495float8 __attribute__((overloadable)) vloada_half8(size_t offset, const __global half *p);
5496float16 __attribute__((overloadable)) vloada_half16(size_t offset, const __global half *p);
5497float __attribute__((overloadable)) vloada_half(size_t offset, const __local half *p);
5498float2 __attribute__((overloadable)) vloada_half2(size_t offset, const __local half *p);
5499float3 __attribute__((overloadable)) vloada_half3(size_t offset, const __local half *p);
5500float4 __attribute__((overloadable)) vloada_half4(size_t offset, const __local half *p);
5501float8 __attribute__((overloadable)) vloada_half8(size_t offset, const __local half *p);
5502float16 __attribute__((overloadable)) vloada_half16(size_t offset, const __local half *p);
5503float __attribute__((overloadable)) vloada_half(size_t offset, const __private half *p);
5504float2 __attribute__((overloadable)) vloada_half2(size_t offset, const __private half *p);
5505float3 __attribute__((overloadable)) vloada_half3(size_t offset, const __private half *p);
5506float4 __attribute__((overloadable)) vloada_half4(size_t offset, const __private half *p);
5507float8 __attribute__((overloadable)) vloada_half8(size_t offset, const __private half *p);
5508float16 __attribute__((overloadable)) vloada_half16(size_t offset, const __private half *p);
5509float __attribute__((overloadable)) vloada_half(size_t offset, const __constant half *p);
5510float2 __attribute__((overloadable)) vloada_half2(size_t offset, const __constant half *p);
5511float3 __attribute__((overloadable)) vloada_half3(size_t offset, const __constant half *p);
5512float4 __attribute__((overloadable)) vloada_half4(size_t offset, const __constant half *p);
5513float8 __attribute__((overloadable)) vloada_half8(size_t offset, const __constant half *p);
5514float16 __attribute__((overloadable)) vloada_half16(size_t offset, const __constant half *p);
5515
5516/**
5517 * The floatn value given by data is converted to
5518 * a halfn value using the appropriate rounding
5519 * mode.
5520 * For n = 1, 2, 4, 8 and 16, the halfn value is
5521 * written to the address computed as (p + (offset
5522 * * n)). The address computed as (p + (offset *
5523 * n)) must be aligned to sizeof (halfn) bytes.
5524 * For n = 3, the half3 value is written to the
5525 * address computed as (p + (offset * 4)). The
5526 * address computed as (p + (offset * 4)) must be
5527 * aligned to sizeof (half) * 4 bytes.
5528 * vstorea_halfn uses the current rounding
5529 * mode. The default current rounding mode is
5530 * round to nearest even.
5531 */
5532void __attribute__((overloadable)) vstorea_half(float data, size_t offset, __global half *p);
5533void __attribute__((overloadable)) vstorea_half2(float2 data, size_t offset, __global half *p);
5534void __attribute__((overloadable)) vstorea_half3(float3 data, size_t offset, __global half *p);
5535void __attribute__((overloadable)) vstorea_half4(float4 data, size_t offset, __global half *p);
5536void __attribute__((overloadable)) vstorea_half8(float8 data, size_t offset, __global half *p);
5537void __attribute__((overloadable)) vstorea_half16(float16 data, size_t offset, __global half *p);
5538
5539void __attribute__((overloadable)) vstorea_half_rte(float data, size_t offset, __global half *p);
5540void __attribute__((overloadable)) vstorea_half2_rte(float2 data, size_t offset, __global half *p);
5541void __attribute__((overloadable)) vstorea_half3_rte(float3 data, size_t offset, __global half *p);
5542void __attribute__((overloadable)) vstorea_half4_rte(float4 data, size_t offset, __global half *p);
5543void __attribute__((overloadable)) vstorea_half8_rte(float8 data, size_t offset, __global half *p);
5544void __attribute__((overloadable)) vstorea_half16_rte(float16 data, size_t offset, __global half *p);
5545
5546void __attribute__((overloadable)) vstorea_half_rtz(float data, size_t offset, __global half *p);
5547void __attribute__((overloadable)) vstorea_half2_rtz(float2 data, size_t offset, __global half *p);
5548void __attribute__((overloadable)) vstorea_half3_rtz(float3 data, size_t offset, __global half *p);
5549void __attribute__((overloadable)) vstorea_half4_rtz(float4 data, size_t offset, __global half *p);
5550void __attribute__((overloadable)) vstorea_half8_rtz(float8 data, size_t offset, __global half *p);
5551void __attribute__((overloadable)) vstorea_half16_rtz(float16 data, size_t offset, __global half *p);
5552
5553void __attribute__((overloadable)) vstorea_half_rtp(float data, size_t offset, __global half *p);
5554void __attribute__((overloadable)) vstorea_half2_rtp(float2 data, size_t offset, __global half *p);
5555void __attribute__((overloadable)) vstorea_half3_rtp(float3 data, size_t offset, __global half *p);
5556void __attribute__((overloadable)) vstorea_half4_rtp(float4 data, size_t offset, __global half *p);
5557void __attribute__((overloadable)) vstorea_half8_rtp(float8 data, size_t offset, __global half *p);
5558void __attribute__((overloadable)) vstorea_half16_rtp(float16 data, size_t offset, __global half *p);
5559
5560void __attribute__((overloadable)) vstorea_half_rtn(float data, size_t offset, __global half *p);
5561void __attribute__((overloadable)) vstorea_half2_rtn(float2 data, size_t offset, __global half *p);
5562void __attribute__((overloadable)) vstorea_half3_rtn(float3 data, size_t offset, __global half *p);
5563void __attribute__((overloadable)) vstorea_half4_rtn(float4 data, size_t offset, __global half *p);
5564void __attribute__((overloadable)) vstorea_half8_rtn(float8 data, size_t offset, __global half *p);
5565void __attribute__((overloadable)) vstorea_half16_rtn(float16 data, size_t offset, __global half *p);
5566
5567void __attribute__((overloadable)) vstorea_half(float data, size_t offset, __local half *p);
5568void __attribute__((overloadable)) vstorea_half2(float2 data, size_t offset, __local half *p);
5569void __attribute__((overloadable)) vstorea_half3(float3 data, size_t offset, __local half *p);
5570void __attribute__((overloadable)) vstorea_half4(float4 data, size_t offset, __local half *p);
5571void __attribute__((overloadable)) vstorea_half8(float8 data, size_t offset, __local half *p);
5572void __attribute__((overloadable)) vstorea_half16(float16 data, size_t offset, __local half *p);
5573
5574void __attribute__((overloadable)) vstorea_half_rte(float data, size_t offset, __local half *p);
5575void __attribute__((overloadable)) vstorea_half2_rte(float2 data, size_t offset, __local half *p);
5576void __attribute__((overloadable)) vstorea_half3_rte(float3 data, size_t offset, __local half *p);
5577void __attribute__((overloadable)) vstorea_half4_rte(float4 data, size_t offset, __local half *p);
5578void __attribute__((overloadable)) vstorea_half8_rte(float8 data, size_t offset, __local half *p);
5579void __attribute__((overloadable)) vstorea_half16_rte(float16 data, size_t offset, __local half *p);
5580
5581void __attribute__((overloadable)) vstorea_half_rtz(float data, size_t offset, __local half *p);
5582void __attribute__((overloadable)) vstorea_half2_rtz(float2 data, size_t offset, __local half *p);
5583void __attribute__((overloadable)) vstorea_half3_rtz(float3 data, size_t offset, __local half *p);
5584void __attribute__((overloadable)) vstorea_half4_rtz(float4 data, size_t offset, __local half *p);
5585void __attribute__((overloadable)) vstorea_half8_rtz(float8 data, size_t offset, __local half *p);
5586void __attribute__((overloadable)) vstorea_half16_rtz(float16 data, size_t offset, __local half *p);
5587
5588void __attribute__((overloadable)) vstorea_half_rtp(float data, size_t offset, __local half *p);
5589void __attribute__((overloadable)) vstorea_half2_rtp(float2 data, size_t offset, __local half *p);
5590void __attribute__((overloadable)) vstorea_half3_rtp(float3 data, size_t offset, __local half *p);
5591void __attribute__((overloadable)) vstorea_half4_rtp(float4 data, size_t offset, __local half *p);
5592void __attribute__((overloadable)) vstorea_half8_rtp(float8 data, size_t offset, __local half *p);
5593void __attribute__((overloadable)) vstorea_half16_rtp(float16 data, size_t offset, __local half *p);
5594
5595void __attribute__((overloadable)) vstorea_half_rtn(float data, size_t offset, __local half *p);
5596void __attribute__((overloadable)) vstorea_half2_rtn(float2 data, size_t offset, __local half *p);
5597void __attribute__((overloadable)) vstorea_half3_rtn(float3 data, size_t offset, __local half *p);
5598void __attribute__((overloadable)) vstorea_half4_rtn(float4 data, size_t offset, __local half *p);
5599void __attribute__((overloadable)) vstorea_half8_rtn(float8 data, size_t offset, __local half *p);
5600void __attribute__((overloadable)) vstorea_half16_rtn(float16 data, size_t offset, __local half *p);
5601
5602void __attribute__((overloadable)) vstorea_half(float data, size_t offset, __private half *p);
5603void __attribute__((overloadable)) vstorea_half2(float2 data, size_t offset, __private half *p);
5604void __attribute__((overloadable)) vstorea_half3(float3 data, size_t offset, __private half *p);
5605void __attribute__((overloadable)) vstorea_half4(float4 data, size_t offset, __private half *p);
5606void __attribute__((overloadable)) vstorea_half8(float8 data, size_t offset, __private half *p);
5607void __attribute__((overloadable)) vstorea_half16(float16 data, size_t offset, __private half *p);
5608
5609void __attribute__((overloadable)) vstorea_half_rte(float data, size_t offset, __private half *p);
5610void __attribute__((overloadable)) vstorea_half2_rte(float2 data, size_t offset, __private half *p);
5611void __attribute__((overloadable)) vstorea_half3_rte(float3 data, size_t offset, __private half *p);
5612void __attribute__((overloadable)) vstorea_half4_rte(float4 data, size_t offset, __private half *p);
5613void __attribute__((overloadable)) vstorea_half8_rte(float8 data, size_t offset, __private half *p);
5614void __attribute__((overloadable)) vstorea_half16_rte(float16 data, size_t offset, __private half *p);
5615
5616void __attribute__((overloadable)) vstorea_half_rtz(float data, size_t offset, __private half *p);
5617void __attribute__((overloadable)) vstorea_half2_rtz(float2 data, size_t offset, __private half *p);
5618void __attribute__((overloadable)) vstorea_half3_rtz(float3 data, size_t offset, __private half *p);
5619void __attribute__((overloadable)) vstorea_half4_rtz(float4 data, size_t offset, __private half *p);
5620void __attribute__((overloadable)) vstorea_half8_rtz(float8 data, size_t offset, __private half *p);
5621void __attribute__((overloadable)) vstorea_half16_rtz(float16 data, size_t offset, __private half *p);
5622
5623void __attribute__((overloadable)) vstorea_half_rtp(float data, size_t offset, __private half *p);
5624void __attribute__((overloadable)) vstorea_half2_rtp(float2 data, size_t offset, __private half *p);
5625void __attribute__((overloadable)) vstorea_half3_rtp(float3 data, size_t offset, __private half *p);
5626void __attribute__((overloadable)) vstorea_half4_rtp(float4 data, size_t offset, __private half *p);
5627void __attribute__((overloadable)) vstorea_half8_rtp(float8 data, size_t offset, __private half *p);
5628void __attribute__((overloadable)) vstorea_half16_rtp(float16 data, size_t offset, __private half *p);
5629
5630void __attribute__((overloadable)) vstorea_half_rtn(float data, size_t offset, __private half *p);
5631void __attribute__((overloadable)) vstorea_half2_rtn(float2 data, size_t offset, __private half *p);
5632void __attribute__((overloadable)) vstorea_half3_rtn(float3 data, size_t offset, __private half *p);
5633void __attribute__((overloadable)) vstorea_half4_rtn(float4 data, size_t offset, __private half *p);
5634void __attribute__((overloadable)) vstorea_half8_rtn(float8 data, size_t offset, __private half *p);
5635void __attribute__((overloadable)) vstorea_half16_rtn(float16 data, size_t offset, __private half *p);
5636
5637void __attribute__((overloadable)) vstorea_half(double data, size_t offset, __global half *p);
5638void __attribute__((overloadable)) vstorea_half2(double2 data, size_t offset, __global half *p);
5639void __attribute__((overloadable)) vstorea_half3(double3 data, size_t offset, __global half *p);
5640void __attribute__((overloadable)) vstorea_half4(double4 data, size_t offset, __global half *p);
5641void __attribute__((overloadable)) vstorea_half8(double8 data, size_t offset, __global half *p);
5642void __attribute__((overloadable)) vstorea_half16(double16 data, size_t offset, __global half *p);
5643
5644void __attribute__((overloadable)) vstorea_half_rte(double data, size_t offset, __global half *p);
5645void __attribute__((overloadable)) vstorea_half2_rte(double2 data, size_t offset, __global half *p);
5646void __attribute__((overloadable)) vstorea_half3_rte(double3 data, size_t offset, __global half *p);
5647void __attribute__((overloadable)) vstorea_half4_rte(double4 data, size_t offset, __global half *p);
5648void __attribute__((overloadable)) vstorea_half8_rte(double8 data, size_t offset, __global half *p);
5649void __attribute__((overloadable)) vstorea_half16_rte(double16 data, size_t offset, __global half *p);
5650
5651void __attribute__((overloadable)) vstorea_half_rtz(double data, size_t offset, __global half *p);
5652void __attribute__((overloadable)) vstorea_half2_rtz(double2 data, size_t offset, __global half *p);
5653void __attribute__((overloadable)) vstorea_half3_rtz(double3 data, size_t offset, __global half *p);
5654void __attribute__((overloadable)) vstorea_half4_rtz(double4 data, size_t offset, __global half *p);
5655void __attribute__((overloadable)) vstorea_half8_rtz(double8 data, size_t offset, __global half *p);
5656void __attribute__((overloadable)) vstorea_half16_rtz(double16 data, size_t offset, __global half *p);
5657
5658void __attribute__((overloadable)) vstorea_half_rtp(double data, size_t offset, __global half *p);
5659void __attribute__((overloadable)) vstorea_half2_rtp(double2 data, size_t offset, __global half *p);
5660void __attribute__((overloadable)) vstorea_half3_rtp(double3 data, size_t offset, __global half *p);
5661void __attribute__((overloadable)) vstorea_half4_rtp(double4 data, size_t offset, __global half *p);
5662void __attribute__((overloadable)) vstorea_half8_rtp(double8 data, size_t offset, __global half *p);
5663void __attribute__((overloadable)) vstorea_half16_rtp(double16 data, size_t offset, __global half *p);
5664
5665void __attribute__((overloadable)) vstorea_half_rtn(double data, size_t offset, __global half *p);
5666void __attribute__((overloadable)) vstorea_half2_rtn(double2 data, size_t offset, __global half *p);
5667void __attribute__((overloadable)) vstorea_half3_rtn(double3 data, size_t offset, __global half *p);
5668void __attribute__((overloadable)) vstorea_half4_rtn(double4 data, size_t offset, __global half *p);
5669void __attribute__((overloadable)) vstorea_half8_rtn(double8 data, size_t offset, __global half *p);
5670void __attribute__((overloadable)) vstorea_half16_rtn(double16 data, size_t offset, __global half *p);
5671
5672void __attribute__((overloadable)) vstorea_half(double data, size_t offset, __local half *p);
5673void __attribute__((overloadable)) vstorea_half2(double2 data, size_t offset, __local half *p);
5674void __attribute__((overloadable)) vstorea_half3(double3 data, size_t offset, __local half *p);
5675void __attribute__((overloadable)) vstorea_half4(double4 data, size_t offset, __local half *p);
5676void __attribute__((overloadable)) vstorea_half8(double8 data, size_t offset, __local half *p);
5677void __attribute__((overloadable)) vstorea_half16(double16 data, size_t offset, __local half *p);
5678
5679void __attribute__((overloadable)) vstorea_half_rte(double data, size_t offset, __local half *p);
5680void __attribute__((overloadable)) vstorea_half2_rte(double2 data, size_t offset, __local half *p);
5681void __attribute__((overloadable)) vstorea_half3_rte(double3 data, size_t offset, __local half *p);
5682void __attribute__((overloadable)) vstorea_half4_rte(double4 data, size_t offset, __local half *p);
5683void __attribute__((overloadable)) vstorea_half8_rte(double8 data, size_t offset, __local half *p);
5684void __attribute__((overloadable)) vstorea_half16_rte(double16 data, size_t offset, __local half *p);
5685
5686void __attribute__((overloadable)) vstorea_half_rtz(double data, size_t offset, __local half *p);
5687void __attribute__((overloadable)) vstorea_half2_rtz(double2 data, size_t offset, __local half *p);
5688void __attribute__((overloadable)) vstorea_half3_rtz(double3 data, size_t offset, __local half *p);
5689void __attribute__((overloadable)) vstorea_half4_rtz(double4 data, size_t offset, __local half *p);
5690void __attribute__((overloadable)) vstorea_half8_rtz(double8 data, size_t offset, __local half *p);
5691void __attribute__((overloadable)) vstorea_half16_rtz(double16 data, size_t offset, __local half *p);
5692
5693void __attribute__((overloadable)) vstorea_half_rtp(double data, size_t offset, __local half *p);
5694void __attribute__((overloadable)) vstorea_half2_rtp(double2 data, size_t offset, __local half *p);
5695void __attribute__((overloadable)) vstorea_half3_rtp(double3 data, size_t offset, __local half *p);
5696void __attribute__((overloadable)) vstorea_half4_rtp(double4 data, size_t offset, __local half *p);
5697void __attribute__((overloadable)) vstorea_half8_rtp(double8 data, size_t offset, __local half *p);
5698void __attribute__((overloadable)) vstorea_half16_rtp(double16 data, size_t offset, __local half *p);
5699
5700void __attribute__((overloadable)) vstorea_half_rtn(double data, size_t offset, __local half *p);
5701void __attribute__((overloadable)) vstorea_half2_rtn(double2 data, size_t offset, __local half *p);
5702void __attribute__((overloadable)) vstorea_half3_rtn(double3 data, size_t offset, __local half *p);
5703void __attribute__((overloadable)) vstorea_half4_rtn(double4 data, size_t offset, __local half *p);
5704void __attribute__((overloadable)) vstorea_half8_rtn(double8 data, size_t offset, __local half *p);
5705void __attribute__((overloadable)) vstorea_half16_rtn(double16 data, size_t offset, __local half *p);
5706
5707void __attribute__((overloadable)) vstorea_half(double data, size_t offset, __private half *p);
5708void __attribute__((overloadable)) vstorea_half2(double2 data, size_t offset, __private half *p);
5709void __attribute__((overloadable)) vstorea_half3(double3 data, size_t offset, __private half *p);
5710void __attribute__((overloadable)) vstorea_half4(double4 data, size_t offset, __private half *p);
5711void __attribute__((overloadable)) vstorea_half8(double8 data, size_t offset, __private half *p);
5712void __attribute__((overloadable)) vstorea_half16(double16 data, size_t offset, __private half *p);
5713
5714void __attribute__((overloadable)) vstorea_half_rte(double data, size_t offset, __private half *p);
5715void __attribute__((overloadable)) vstorea_half2_rte(double2 data, size_t offset, __private half *p);
5716void __attribute__((overloadable)) vstorea_half3_rte(double3 data, size_t offset, __private half *p);
5717void __attribute__((overloadable)) vstorea_half4_rte(double4 data, size_t offset, __private half *p);
5718void __attribute__((overloadable)) vstorea_half8_rte(double8 data, size_t offset, __private half *p);
5719void __attribute__((overloadable)) vstorea_half16_rte(double16 data, size_t offset, __private half *p);
5720
5721void __attribute__((overloadable)) vstorea_half_rtz(double data, size_t offset, __private half *p);
5722void __attribute__((overloadable)) vstorea_half2_rtz(double2 data, size_t offset, __private half *p);
5723void __attribute__((overloadable)) vstorea_half3_rtz(double3 data, size_t offset, __private half *p);
5724void __attribute__((overloadable)) vstorea_half4_rtz(double4 data, size_t offset, __private half *p);
5725void __attribute__((overloadable)) vstorea_half8_rtz(double8 data, size_t offset, __private half *p);
5726void __attribute__((overloadable)) vstorea_half16_rtz(double16 data, size_t offset, __private half *p);
5727
5728void __attribute__((overloadable)) vstorea_half_rtp(double data, size_t offset, __private half *p);
5729void __attribute__((overloadable)) vstorea_half2_rtp(double2 data, size_t offset, __private half *p);
5730void __attribute__((overloadable)) vstorea_half3_rtp(double3 data, size_t offset, __private half *p);
5731void __attribute__((overloadable)) vstorea_half4_rtp(double4 data, size_t offset, __private half *p);
5732void __attribute__((overloadable)) vstorea_half8_rtp(double8 data, size_t offset, __private half *p);
5733void __attribute__((overloadable)) vstorea_half16_rtp(double16 data, size_t offset, __private half *p);
5734
5735void __attribute__((overloadable)) vstorea_half_rtn(double data, size_t offset, __private half *p);
5736void __attribute__((overloadable)) vstorea_half2_rtn(double2 data,size_t offset, __private half *p);
5737void __attribute__((overloadable)) vstorea_half3_rtn(double3 data,size_t offset, __private half *p);
5738void __attribute__((overloadable)) vstorea_half4_rtn(double4 data,size_t offset, __private half *p);
5739void __attribute__((overloadable)) vstorea_half8_rtn(double8 data,size_t offset, __private half *p);
5740void __attribute__((overloadable)) vstorea_half16_rtn(double16 data,size_t offset, __private half *p);
5741
5742// Synchronization functions
5743
5744/**
5745 * All work-items in a work-group executing the kernel
5746 * on a processor must execute this function before any
5747 * are allowed to continue execution beyond the barrier.
5748 * This function must be encountered by all work-items in
5749 * a work-group executing the kernel.
5750 * If barrier is inside a conditional statement, then all
5751 * work-items must enter the conditional if any work-item
5752 * enters the conditional statement and executes the
5753 * barrier.
5754 * If barrer is inside a loop, all work-items must execute
5755 * the barrier for each iteration of the loop before any are
5756 * allowed to continue execution beyond the barrier.
5757 * The barrier function also queues a memory fence
5758 * (reads and writes) to ensure correct ordering of
5759 * memory operations to local or global memory.
5760 * The flags argument specifies the memory address space
5761 * and can be set to a combination of the following literal
5762 * values.
5763 * CLK_LOCAL_MEM_FENCE - The barrier function
5764 * will either flush any variables stored in local memory
5765 * or queue a memory fence to ensure correct ordering of
5766 * memory operations to local memory.
5767 * CLK_GLOBAL_MEM_FENCE – The barrier function
5768 * will queue a memory fence to ensure correct ordering
5769 * of memory operations to global memory. This can be
5770 * useful when work-items, for example, write to buffer or
5771 * image objects and then want to read the updated data.
5772 */
5773
5775
5776void __attribute__((overloadable)) barrier(cl_mem_fence_flags flags);
5777
5778// Explicit memory fence functions
5779
5780/**
5781 * Orders loads and stores of a work-item
5782 * executing a kernel. This means that loads
5783 * and stores preceding the mem_fence will
5784 * be committed to memory before any loads
5785 * and stores following the mem_fence.
5786 * The flags argument specifies the memory
5787 * address space and can be set to a
5788 * combination of the following literal
5789 * values:
5790 * CLK_LOCAL_MEM_FENCE
5791 * CLK_GLOBAL_MEM_FENCE.
5792 */
5793void __attribute__((overloadable)) mem_fence(cl_mem_fence_flags flags);
5794
5795/**
5796 * Read memory barrier that orders only
5797 * loads.
5798 * The flags argument specifies the memory
5799 * address space and can be set to to a
5800 * combination of the following literal
5801 * values:
5802 * CLK_LOCAL_MEM_FENCE
5803 * CLK_GLOBAL_MEM_FENCE.
5804 */
5805void __attribute__((overloadable)) read_mem_fence(cl_mem_fence_flags flags);
5806
5807/**
5808 * Write memory barrier that orders only
5809 * stores.
5810 * The flags argument specifies the memory
5811 * address space and can be set to to a
5812 * combination of the following literal
5813 * values:
5814 * CLK_LOCAL_MEM_FENCE
5815 * CLK_GLOBAL_MEM_FENCE.
5816 */
5817void __attribute__((overloadable)) write_mem_fence(cl_mem_fence_flags flags);
5818
5819// Flag values for barrier, mem_fence, read_mem_fence, write_mem_fence
5820
5821/**
5822 * Queue a memory fence to ensure correct
5823 * ordering of memory operations to local memory
5824 */
5825#define CLK_LOCAL_MEM_FENCE 0x1
5826
5827/**
5828 * Queue a memory fence to ensure correct
5829 * ordering of memory operations to global memory
5830 */
5831#define CLK_GLOBAL_MEM_FENCE 0x2
5832
5833
5834// Async copies from global to local memory, local to global memory, and prefetch
5835
5836/**
5837 * event_t async_work_group_copy (
5838 * __global gentype *dst,
5839 * const __local gentype *src,
5840 * size_t num_elements,
5841 * event_t event)
5842 * Perform an async copy of num_elements
5843 * gentype elements from src to dst. The async
5844 * copy is performed by all work-items in a workgroup
5845 * and this built-in function must therefore
5846 * be encountered by all work-items in a workgroup
5847 * executing the kernel with the same
5848 * argument values; otherwise the results are
5849 * undefined.
5850 * Returns an event object that can be used by
5851 * wait_group_events to wait for the async copy
5852 * to finish. The event argument can also be used
5853 * to associate the async_work_group_copy with
5854 * a previous async copy allowing an event to be
5855 * shared by multiple async copies; otherwise event
5856 * should be zero.
5857 * If event argument is non-zero, the event object
5858 * supplied in event argument will be returned.
5859 * This function does not perform any implicit
5860 * synchronization of source data such as using a
5861 * barrier before performing the copy.
5862 */
5863event_t __attribute__((overloadable)) async_work_group_copy(__local char *dst, const __global char *src, size_t num_elements, event_t event);
5864event_t __attribute__((overloadable)) async_work_group_copy(__local uchar *dst, const __global uchar *src, size_t num_elements, event_t event);
5865event_t __attribute__((overloadable)) async_work_group_copy(__local short *dst, const __global short *src, size_t num_elements, event_t event);
5866event_t __attribute__((overloadable)) async_work_group_copy(__local ushort *dst, const __global ushort *src, size_t num_elements, event_t event);
5867event_t __attribute__((overloadable)) async_work_group_copy(__local int *dst, const __global int *src, size_t num_elements, event_t event);
5868event_t __attribute__((overloadable)) async_work_group_copy(__local uint *dst, const __global uint *src, size_t num_elements, event_t event);
5869event_t __attribute__((overloadable)) async_work_group_copy(__local long *dst, const __global long *src, size_t num_elements, event_t event);
5870event_t __attribute__((overloadable)) async_work_group_copy(__local ulong *dst, const __global ulong *src, size_t num_elements, event_t event);
5871event_t __attribute__((overloadable)) async_work_group_copy(__local float *dst, const __global float *src, size_t num_elements, event_t event);
5872event_t __attribute__((overloadable)) async_work_group_copy(__local char2 *dst, const __global char2 *src, size_t num_elements, event_t event);
5873event_t __attribute__((overloadable)) async_work_group_copy(__local uchar2 *dst, const __global uchar2 *src, size_t num_elements, event_t event);
5874event_t __attribute__((overloadable)) async_work_group_copy(__local short2 *dst, const __global short2 *src, size_t num_elements, event_t event);
5875event_t __attribute__((overloadable)) async_work_group_copy(__local ushort2 *dst, const __global ushort2 *src, size_t num_elements, event_t event);
5876event_t __attribute__((overloadable)) async_work_group_copy(__local int2 *dst, const __global int2 *src, size_t num_elements, event_t event);
5877event_t __attribute__((overloadable)) async_work_group_copy(__local uint2 *dst, const __global uint2 *src, size_t num_elements, event_t event);
5878event_t __attribute__((overloadable)) async_work_group_copy(__local long2 *dst, const __global long2 *src, size_t num_elements, event_t event);
5879event_t __attribute__((overloadable)) async_work_group_copy(__local ulong2 *dst, const __global ulong2 *src, size_t num_elements, event_t event);
5880event_t __attribute__((overloadable)) async_work_group_copy(__local float2 *dst, const __global float2 *src, size_t num_elements, event_t event);
5881event_t __attribute__((overloadable)) async_work_group_copy(__local char3 *dst, const __global char3 *src, size_t num_elements, event_t event);
5882event_t __attribute__((overloadable)) async_work_group_copy(__local uchar3 *dst, const __global uchar3 *src, size_t num_elements, event_t event);
5883event_t __attribute__((overloadable)) async_work_group_copy(__local short3 *dst, const __global short3 *src, size_t num_elements, event_t event);
5884event_t __attribute__((overloadable)) async_work_group_copy(__local ushort3 *dst, const __global ushort3 *src, size_t num_elements, event_t event);
5885event_t __attribute__((overloadable)) async_work_group_copy(__local int3 *dst, const __global int3 *src, size_t num_elements, event_t event);
5886event_t __attribute__((overloadable)) async_work_group_copy(__local uint3 *dst, const __global uint3 *src, size_t num_elements, event_t event);
5887event_t __attribute__((overloadable)) async_work_group_copy(__local long3 *dst, const __global long3 *src, size_t num_elements, event_t event);
5888event_t __attribute__((overloadable)) async_work_group_copy(__local ulong3 *dst, const __global ulong3 *src, size_t num_elements, event_t event);
5889event_t __attribute__((overloadable)) async_work_group_copy(__local float3 *dst, const __global float3 *src, size_t num_elements, event_t event);
5890event_t __attribute__((overloadable)) async_work_group_copy(__local char4 *dst, const __global char4 *src, size_t num_elements, event_t event);
5891event_t __attribute__((overloadable)) async_work_group_copy(__local uchar4 *dst, const __global uchar4 *src, size_t num_elements, event_t event);
5892event_t __attribute__((overloadable)) async_work_group_copy(__local short4 *dst, const __global short4 *src, size_t num_elements, event_t event);
5893event_t __attribute__((overloadable)) async_work_group_copy(__local ushort4 *dst, const __global ushort4 *src, size_t num_elements, event_t event);
5894event_t __attribute__((overloadable)) async_work_group_copy(__local int4 *dst, const __global int4 *src, size_t num_elements, event_t event);
5895event_t __attribute__((overloadable)) async_work_group_copy(__local uint4 *dst, const __global uint4 *src, size_t num_elements, event_t event);
5896event_t __attribute__((overloadable)) async_work_group_copy(__local long4 *dst, const __global long4 *src, size_t num_elements, event_t event);
5897event_t __attribute__((overloadable)) async_work_group_copy(__local ulong4 *dst, const __global ulong4 *src, size_t num_elements, event_t event);
5898event_t __attribute__((overloadable)) async_work_group_copy(__local float4 *dst, const __global float4 *src, size_t num_elements, event_t event);
5899event_t __attribute__((overloadable)) async_work_group_copy(__local char8 *dst, const __global char8 *src, size_t num_elements, event_t event);
5900event_t __attribute__((overloadable)) async_work_group_copy(__local uchar8 *dst, const __global uchar8 *src, size_t num_elements, event_t event);
5901event_t __attribute__((overloadable)) async_work_group_copy(__local short8 *dst, const __global short8 *src, size_t num_elements, event_t event);
5902event_t __attribute__((overloadable)) async_work_group_copy(__local ushort8 *dst, const __global ushort8 *src, size_t num_elements, event_t event);
5903event_t __attribute__((overloadable)) async_work_group_copy(__local int8 *dst, const __global int8 *src, size_t num_elements, event_t event);
5904event_t __attribute__((overloadable)) async_work_group_copy(__local uint8 *dst, const __global uint8 *src, size_t num_elements, event_t event);
5905event_t __attribute__((overloadable)) async_work_group_copy(__local long8 *dst, const __global long8 *src, size_t num_elements, event_t event);
5906event_t __attribute__((overloadable)) async_work_group_copy(__local ulong8 *dst, const __global ulong8 *src, size_t num_elements, event_t event);
5907event_t __attribute__((overloadable)) async_work_group_copy(__local float8 *dst, const __global float8 *src, size_t num_elements, event_t event);
5908event_t __attribute__((overloadable)) async_work_group_copy(__local char16 *dst, const __global char16 *src, size_t num_elements, event_t event);
5909event_t __attribute__((overloadable)) async_work_group_copy(__local uchar16 *dst, const __global uchar16 *src, size_t num_elements, event_t event);
5910event_t __attribute__((overloadable)) async_work_group_copy(__local short16 *dst, const __global short16 *src, size_t num_elements, event_t event);
5911event_t __attribute__((overloadable)) async_work_group_copy(__local ushort16 *dst, const __global ushort16 *src, size_t num_elements, event_t event);
5912event_t __attribute__((overloadable)) async_work_group_copy(__local int16 *dst, const __global int16 *src, size_t num_elements, event_t event);
5913event_t __attribute__((overloadable)) async_work_group_copy(__local uint16 *dst, const __global uint16 *src, size_t num_elements, event_t event);
5914event_t __attribute__((overloadable)) async_work_group_copy(__local long16 *dst, const __global long16 *src, size_t num_elements, event_t event);
5915event_t __attribute__((overloadable)) async_work_group_copy(__local ulong16 *dst, const __global ulong16 *src, size_t num_elements, event_t event);
5916event_t __attribute__((overloadable)) async_work_group_copy(__local float16 *dst, const __global float16 *src, size_t num_elements, event_t event);
5917event_t __attribute__((overloadable)) async_work_group_copy(__global char *dst, const __local char *src, size_t num_elements, event_t event);
5918event_t __attribute__((overloadable)) async_work_group_copy(__global uchar *dst, const __local uchar *src, size_t num_elements, event_t event);
5919event_t __attribute__((overloadable)) async_work_group_copy(__global short *dst, const __local short *src, size_t num_elements, event_t event);
5920event_t __attribute__((overloadable)) async_work_group_copy(__global ushort *dst, const __local ushort *src, size_t num_elements, event_t event);
5921event_t __attribute__((overloadable)) async_work_group_copy(__global int *dst, const __local int *src, size_t num_elements, event_t event);
5922event_t __attribute__((overloadable)) async_work_group_copy(__global uint *dst, const __local uint *src, size_t num_elements, event_t event);
5923event_t __attribute__((overloadable)) async_work_group_copy(__global long *dst, const __local long *src, size_t num_elements, event_t event);
5924event_t __attribute__((overloadable)) async_work_group_copy(__global ulong *dst, const __local ulong *src, size_t num_elements, event_t event);
5925event_t __attribute__((overloadable)) async_work_group_copy(__global float *dst, const __local float *src, size_t num_elements, event_t event);
5926event_t __attribute__((overloadable)) async_work_group_copy(__global char2 *dst, const __local char2 *src, size_t num_elements, event_t event);
5927event_t __attribute__((overloadable)) async_work_group_copy(__global uchar2 *dst, const __local uchar2 *src, size_t num_elements, event_t event);
5928event_t __attribute__((overloadable)) async_work_group_copy(__global short2 *dst, const __local short2 *src, size_t num_elements, event_t event);
5929event_t __attribute__((overloadable)) async_work_group_copy(__global ushort2 *dst, const __local ushort2 *src, size_t num_elements, event_t event);
5930event_t __attribute__((overloadable)) async_work_group_copy(__global int2 *dst, const __local int2 *src, size_t num_elements, event_t event);
5931event_t __attribute__((overloadable)) async_work_group_copy(__global uint2 *dst, const __local uint2 *src, size_t num_elements, event_t event);
5932event_t __attribute__((overloadable)) async_work_group_copy(__global long2 *dst, const __local long2 *src, size_t num_elements, event_t event);
5933event_t __attribute__((overloadable)) async_work_group_copy(__global ulong2 *dst, const __local ulong2 *src, size_t num_elements, event_t event);
5934event_t __attribute__((overloadable)) async_work_group_copy(__global float2 *dst, const __local float2 *src, size_t num_elements, event_t event);
5935event_t __attribute__((overloadable)) async_work_group_copy(__global char3 *dst, const __local char3 *src, size_t num_elements, event_t event);
5936event_t __attribute__((overloadable)) async_work_group_copy(__global uchar3 *dst, const __local uchar3 *src, size_t num_elements, event_t event);
5937event_t __attribute__((overloadable)) async_work_group_copy(__global short3 *dst, const __local short3 *src, size_t num_elements, event_t event);
5938event_t __attribute__((overloadable)) async_work_group_copy(__global ushort3 *dst, const __local ushort3 *src, size_t num_elements, event_t event);
5939event_t __attribute__((overloadable)) async_work_group_copy(__global int3 *dst, const __local int3 *src, size_t num_elements, event_t event);
5940event_t __attribute__((overloadable)) async_work_group_copy(__global uint3 *dst, const __local uint3 *src, size_t num_elements, event_t event);
5941event_t __attribute__((overloadable)) async_work_group_copy(__global long3 *dst, const __local long3 *src, size_t num_elements, event_t event);
5942event_t __attribute__((overloadable)) async_work_group_copy(__global ulong3 *dst, const __local ulong3 *src, size_t num_elements, event_t event);
5943event_t __attribute__((overloadable)) async_work_group_copy(__global float3 *dst, const __local float3 *src, size_t num_elements, event_t event);
5944event_t __attribute__((overloadable)) async_work_group_copy(__global char4 *dst, const __local char4 *src, size_t num_elements, event_t event);
5945event_t __attribute__((overloadable)) async_work_group_copy(__global uchar4 *dst, const __local uchar4 *src, size_t num_elements, event_t event);
5946event_t __attribute__((overloadable)) async_work_group_copy(__global short4 *dst, const __local short4 *src, size_t num_elements, event_t event);
5947event_t __attribute__((overloadable)) async_work_group_copy(__global ushort4 *dst, const __local ushort4 *src, size_t num_elements, event_t event);
5948event_t __attribute__((overloadable)) async_work_group_copy(__global int4 *dst, const __local int4 *src, size_t num_elements, event_t event);
5949event_t __attribute__((overloadable)) async_work_group_copy(__global uint4 *dst, const __local uint4 *src, size_t num_elements, event_t event);
5950event_t __attribute__((overloadable)) async_work_group_copy(__global long4 *dst, const __local long4 *src, size_t num_elements, event_t event);
5951event_t __attribute__((overloadable)) async_work_group_copy(__global ulong4 *dst, const __local ulong4 *src, size_t num_elements, event_t event);
5952event_t __attribute__((overloadable)) async_work_group_copy(__global float4 *dst, const __local float4 *src, size_t num_elements, event_t event);
5953event_t __attribute__((overloadable)) async_work_group_copy(__global char8 *dst, const __local char8 *src, size_t num_elements, event_t event);
5954event_t __attribute__((overloadable)) async_work_group_copy(__global uchar8 *dst, const __local uchar8 *src, size_t num_elements, event_t event);
5955event_t __attribute__((overloadable)) async_work_group_copy(__global short8 *dst, const __local short8 *src, size_t num_elements, event_t event);
5956event_t __attribute__((overloadable)) async_work_group_copy(__global ushort8 *dst, const __local ushort8 *src, size_t num_elements, event_t event);
5957event_t __attribute__((overloadable)) async_work_group_copy(__global int8 *dst, const __local int8 *src, size_t num_elements, event_t event);
5958event_t __attribute__((overloadable)) async_work_group_copy(__global uint8 *dst, const __local uint8 *src, size_t num_elements, event_t event);
5959event_t __attribute__((overloadable)) async_work_group_copy(__global long8 *dst, const __local long8 *src, size_t num_elements, event_t event);
5960event_t __attribute__((overloadable)) async_work_group_copy(__global ulong8 *dst, const __local ulong8 *src, size_t num_elements, event_t event);
5961event_t __attribute__((overloadable)) async_work_group_copy(__global float8 *dst, const __local float8 *src, size_t num_elements, event_t event);
5962event_t __attribute__((overloadable)) async_work_group_copy(__global char16 *dst, const __local char16 *src, size_t num_elements, event_t event);
5963event_t __attribute__((overloadable)) async_work_group_copy(__global uchar16 *dst, const __local uchar16 *src, size_t num_elements, event_t event);
5964event_t __attribute__((overloadable)) async_work_group_copy(__global short16 *dst, const __local short16 *src, size_t num_elements, event_t event);
5965event_t __attribute__((overloadable)) async_work_group_copy(__global ushort16 *dst, const __local ushort16 *src, size_t num_elements, event_t event);
5966event_t __attribute__((overloadable)) async_work_group_copy(__global int16 *dst, const __local int16 *src, size_t num_elements, event_t event);
5967event_t __attribute__((overloadable)) async_work_group_copy(__global uint16 *dst, const __local uint16 *src, size_t num_elements, event_t event);
5968event_t __attribute__((overloadable)) async_work_group_copy(__global long16 *dst, const __local long16 *src, size_t num_elements, event_t event);
5969event_t __attribute__((overloadable)) async_work_group_copy(__global ulong16 *dst, const __local ulong16 *src, size_t num_elements, event_t event);
5970event_t __attribute__((overloadable)) async_work_group_copy(__global float16 *dst, const __local float16 *src, size_t num_elements, event_t event);
5971event_t __attribute__((overloadable)) async_work_group_copy(__local double *dst, const __global double *src, size_t num_elements, event_t event);
5972event_t __attribute__((overloadable)) async_work_group_copy(__local double2 *dst, const __global double2 *src, size_t num_elements, event_t event);
5973event_t __attribute__((overloadable)) async_work_group_copy(__local double3 *dst, const __global double3 *src, size_t num_elements, event_t event);
5974event_t __attribute__((overloadable)) async_work_group_copy(__local double4 *dst, const __global double4 *src, size_t num_elements, event_t event);
5975event_t __attribute__((overloadable)) async_work_group_copy(__local double8 *dst, const __global double8 *src, size_t num_elements, event_t event);
5976event_t __attribute__((overloadable)) async_work_group_copy(__local double16 *dst, const __global double16 *src, size_t num_elements, event_t event);
5977event_t __attribute__((overloadable)) async_work_group_copy(__global double *dst, const __local double *src, size_t num_elements, event_t event);
5978event_t __attribute__((overloadable)) async_work_group_copy(__global double2 *dst, const __local double2 *src, size_t num_elements, event_t event);
5979event_t __attribute__((overloadable)) async_work_group_copy(__global double3 *dst, const __local double3 *src, size_t num_elements, event_t event);
5980event_t __attribute__((overloadable)) async_work_group_copy(__global double4 *dst, const __local double4 *src, size_t num_elements, event_t event);
5981event_t __attribute__((overloadable)) async_work_group_copy(__global double8 *dst, const __local double8 *src, size_t num_elements, event_t event);
5982event_t __attribute__((overloadable)) async_work_group_copy(__global double16 *dst, const __local double16 *src, size_t num_elements, event_t event);
5983event_t __attribute__((overloadable)) async_work_group_copy(__local half *dst, const __global half *src, size_t num_elements, event_t event);
5984event_t __attribute__((overloadable)) async_work_group_copy(__local half2 *dst, const __global half2 *src, size_t num_elements, event_t event);
5985event_t __attribute__((overloadable)) async_work_group_copy(__local half4 *dst, const __global half4 *src, size_t num_elements, event_t event);
5986event_t __attribute__((overloadable)) async_work_group_copy(__local half8 *dst, const __global half8 *src, size_t num_elements, event_t event);
5987event_t __attribute__((overloadable)) async_work_group_copy(__local half16 *dst, const __global half16 *src, size_t num_elements, event_t event);
5988event_t __attribute__((overloadable)) async_work_group_copy(__global half *dst, const __local half *src, size_t num_elements, event_t event);
5989event_t __attribute__((overloadable)) async_work_group_copy(__global half2 *dst, const __local half2 *src, size_t num_elements, event_t event);
5990event_t __attribute__((overloadable)) async_work_group_copy(__global half4 *dst, const __local half4 *src, size_t num_elements, event_t event);
5991event_t __attribute__((overloadable)) async_work_group_copy(__global half8 *dst, const __local half8 *src, size_t num_elements, event_t event);
5992event_t __attribute__((overloadable)) async_work_group_copy(__global half16 *dst, const __local half16 *src, size_t num_elements, event_t event);
5993
5994/**
5995 * Perform an async gather of num_elements
5996 * gentype elements from src to dst. The
5997 * src_stride is the stride in elements for each
5998 * gentype element read from src. The dst_stride
5999 * is the stride in elements for each gentype
6000 * element written to dst. The async gather is
6001 * performed by all work-items in a work-group.
6002 * This built-in function must therefore be
6003 * encountered by all work-items in a work-group
6004 * executing the kernel with the same argument
6005 * values; otherwise the results are undefined.
6006 * Returns an event object that can be used by
6007 * wait_group_events to wait for the async copy
6008 * to finish. The event argument can also be used
6009 * to associate the
6010 * async_work_group_strided_copy with a
6011 * previous async copy allowing an event to be
6012 * shared by multiple async copies; otherwise event
6013 * should be zero.
6014 * If event argument is non-zero, the event object
6015 * supplied in event argument will be returned.
6016 * This function does not perform any implicit
6017 * synchronization of source data such as using a
6018 * barrier before performing the copy.
6019 */
6020event_t __attribute__((overloadable)) async_work_group_strided_copy(__local char *dst, const __global char *src, size_t num_elements, size_t src_stride, event_t event);
6021event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uchar *dst, const __global uchar *src, size_t num_elements, size_t src_stride, event_t event);
6022event_t __attribute__((overloadable)) async_work_group_strided_copy(__local short *dst, const __global short *src, size_t num_elements, size_t src_stride, event_t event);
6023event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ushort *dst, const __global ushort *src, size_t num_elements, size_t src_stride, event_t event);
6024event_t __attribute__((overloadable)) async_work_group_strided_copy(__local int *dst, const __global int *src, size_t num_elements, size_t src_stride, event_t event);
6025event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uint *dst, const __global uint *src, size_t num_elements, size_t src_stride, event_t event);
6026event_t __attribute__((overloadable)) async_work_group_strided_copy(__local long *dst, const __global long *src, size_t num_elements, size_t src_stride, event_t event);
6027event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ulong *dst, const __global ulong *src, size_t num_elements, size_t src_stride, event_t event);
6028event_t __attribute__((overloadable)) async_work_group_strided_copy(__local float *dst, const __global float *src, size_t num_elements, size_t src_stride, event_t event);
6029event_t __attribute__((overloadable)) async_work_group_strided_copy(__local char2 *dst, const __global char2 *src, size_t num_elements, size_t src_stride, event_t event);
6030event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uchar2 *dst, const __global uchar2 *src, size_t num_elements, size_t src_stride, event_t event);
6031event_t __attribute__((overloadable)) async_work_group_strided_copy(__local short2 *dst, const __global short2 *src, size_t num_elements, size_t src_stride, event_t event);
6032event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ushort2 *dst, const __global ushort2 *src, size_t num_elements, size_t src_stride, event_t event);
6033event_t __attribute__((overloadable)) async_work_group_strided_copy(__local int2 *dst, const __global int2 *src, size_t num_elements, size_t src_stride, event_t event);
6034event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uint2 *dst, const __global uint2 *src, size_t num_elements, size_t src_stride, event_t event);
6035event_t __attribute__((overloadable)) async_work_group_strided_copy(__local long2 *dst, const __global long2 *src, size_t num_elements, size_t src_stride, event_t event);
6036event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ulong2 *dst, const __global ulong2 *src, size_t num_elements, size_t src_stride, event_t event);
6037event_t __attribute__((overloadable)) async_work_group_strided_copy(__local float2 *dst, const __global float2 *src, size_t num_elements, size_t src_stride, event_t event);
6038event_t __attribute__((overloadable)) async_work_group_strided_copy(__local char3 *dst, const __global char3 *src, size_t num_elements, size_t src_stride, event_t event);
6039event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uchar3 *dst, const __global uchar3 *src, size_t num_elements, size_t src_stride, event_t event);
6040event_t __attribute__((overloadable)) async_work_group_strided_copy(__local short3 *dst, const __global short3 *src, size_t num_elements, size_t src_stride, event_t event);
6041event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ushort3 *dst, const __global ushort3 *src, size_t num_elements, size_t src_stride, event_t event);
6042event_t __attribute__((overloadable)) async_work_group_strided_copy(__local int3 *dst, const __global int3 *src, size_t num_elements, size_t src_stride, event_t event);
6043event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uint3 *dst, const __global uint3 *src, size_t num_elements, size_t src_stride, event_t event);
6044event_t __attribute__((overloadable)) async_work_group_strided_copy(__local long3 *dst, const __global long3 *src, size_t num_elements, size_t src_stride, event_t event);
6045event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ulong3 *dst, const __global ulong3 *src, size_t num_elements, size_t src_stride, event_t event);
6046event_t __attribute__((overloadable)) async_work_group_strided_copy(__local float3 *dst, const __global float3 *src, size_t num_elements, size_t src_stride, event_t event);
6047event_t __attribute__((overloadable)) async_work_group_strided_copy(__local char4 *dst, const __global char4 *src, size_t num_elements, size_t src_stride, event_t event);
6048event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uchar4 *dst, const __global uchar4 *src, size_t num_elements, size_t src_stride, event_t event);
6049event_t __attribute__((overloadable)) async_work_group_strided_copy(__local short4 *dst, const __global short4 *src, size_t num_elements, size_t src_stride, event_t event);
6050event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ushort4 *dst, const __global ushort4 *src, size_t num_elements, size_t src_stride, event_t event);
6051event_t __attribute__((overloadable)) async_work_group_strided_copy(__local int4 *dst, const __global int4 *src, size_t num_elements, size_t src_stride, event_t event);
6052event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uint4 *dst, const __global uint4 *src, size_t num_elements, size_t src_stride, event_t event);
6053event_t __attribute__((overloadable)) async_work_group_strided_copy(__local long4 *dst, const __global long4 *src, size_t num_elements, size_t src_stride, event_t event);
6054event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ulong4 *dst, const __global ulong4 *src, size_t num_elements, size_t src_stride, event_t event);
6055event_t __attribute__((overloadable)) async_work_group_strided_copy(__local float4 *dst, const __global float4 *src, size_t num_elements, size_t src_stride, event_t event);
6056event_t __attribute__((overloadable)) async_work_group_strided_copy(__local char8 *dst, const __global char8 *src, size_t num_elements, size_t src_stride, event_t event);
6057event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uchar8 *dst, const __global uchar8 *src, size_t num_elements, size_t src_stride, event_t event);
6058event_t __attribute__((overloadable)) async_work_group_strided_copy(__local short8 *dst, const __global short8 *src, size_t num_elements, size_t src_stride, event_t event);
6059event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ushort8 *dst, const __global ushort8 *src, size_t num_elements, size_t src_stride, event_t event);
6060event_t __attribute__((overloadable)) async_work_group_strided_copy(__local int8 *dst, const __global int8 *src, size_t num_elements, size_t src_stride, event_t event);
6061event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uint8 *dst, const __global uint8 *src, size_t num_elements, size_t src_stride, event_t event);
6062event_t __attribute__((overloadable)) async_work_group_strided_copy(__local long8 *dst, const __global long8 *src, size_t num_elements, size_t src_stride, event_t event);
6063event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ulong8 *dst, const __global ulong8 *src, size_t num_elements, size_t src_stride, event_t event);
6064event_t __attribute__((overloadable)) async_work_group_strided_copy(__local float8 *dst, const __global float8 *src, size_t num_elements, size_t src_stride, event_t event);
6065event_t __attribute__((overloadable)) async_work_group_strided_copy(__local char16 *dst, const __global char16 *src, size_t num_elements, size_t src_stride, event_t event);
6066event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uchar16 *dst, const __global uchar16 *src, size_t num_elements, size_t src_stride, event_t event);
6067event_t __attribute__((overloadable)) async_work_group_strided_copy(__local short16 *dst, const __global short16 *src, size_t num_elements, size_t src_stride, event_t event);
6068event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ushort16 *dst, const __global ushort16 *src, size_t num_elements, size_t src_stride, event_t event);
6069event_t __attribute__((overloadable)) async_work_group_strided_copy(__local int16 *dst, const __global int16 *src, size_t num_elements, size_t src_stride, event_t event);
6070event_t __attribute__((overloadable)) async_work_group_strided_copy(__local uint16 *dst, const __global uint16 *src, size_t num_elements, size_t src_stride, event_t event);
6071event_t __attribute__((overloadable)) async_work_group_strided_copy(__local long16 *dst, const __global long16 *src, size_t num_elements, size_t src_stride, event_t event);
6072event_t __attribute__((overloadable)) async_work_group_strided_copy(__local ulong16 *dst, const __global ulong16 *src, size_t num_elements, size_t src_stride, event_t event);
6073event_t __attribute__((overloadable)) async_work_group_strided_copy(__local float16 *dst, const __global float16 *src, size_t num_elements, size_t src_stride, event_t event);
6074event_t __attribute__((overloadable)) async_work_group_strided_copy(__global char *dst, const __local char *src, size_t num_elements, size_t dst_stride, event_t event);
6075event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uchar *dst, const __local uchar *src, size_t num_elements, size_t dst_stride, event_t event);
6076event_t __attribute__((overloadable)) async_work_group_strided_copy(__global short *dst, const __local short *src, size_t num_elements, size_t dst_stride, event_t event);
6077event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ushort *dst, const __local ushort *src, size_t num_elements, size_t dst_stride, event_t event);
6078event_t __attribute__((overloadable)) async_work_group_strided_copy(__global int *dst, const __local int *src, size_t num_elements, size_t dst_stride, event_t event);
6079event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uint *dst, const __local uint *src, size_t num_elements, size_t dst_stride, event_t event);
6080event_t __attribute__((overloadable)) async_work_group_strided_copy(__global long *dst, const __local long *src, size_t num_elements, size_t dst_stride, event_t event);
6081event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ulong *dst, const __local ulong *src, size_t num_elements, size_t dst_stride, event_t event);
6082event_t __attribute__((overloadable)) async_work_group_strided_copy(__global float *dst, const __local float *src, size_t num_elements, size_t dst_stride, event_t event);
6083event_t __attribute__((overloadable)) async_work_group_strided_copy(__global char2 *dst, const __local char2 *src, size_t num_elements, size_t dst_stride, event_t event);
6084event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uchar2 *dst, const __local uchar2 *src, size_t num_elements, size_t dst_stride, event_t event);
6085event_t __attribute__((overloadable)) async_work_group_strided_copy(__global short2 *dst, const __local short2 *src, size_t num_elements, size_t dst_stride, event_t event);
6086event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ushort2 *dst, const __local ushort2 *src, size_t num_elements, size_t dst_stride, event_t event);
6087event_t __attribute__((overloadable)) async_work_group_strided_copy(__global int2 *dst, const __local int2 *src, size_t num_elements, size_t dst_stride, event_t event);
6088event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uint2 *dst, const __local uint2 *src, size_t num_elements, size_t dst_stride, event_t event);
6089event_t __attribute__((overloadable)) async_work_group_strided_copy(__global long2 *dst, const __local long2 *src, size_t num_elements, size_t dst_stride, event_t event);
6090event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ulong2 *dst, const __local ulong2 *src, size_t num_elements, size_t dst_stride, event_t event);
6091event_t __attribute__((overloadable)) async_work_group_strided_copy(__global float2 *dst, const __local float2 *src, size_t num_elements, size_t dst_stride, event_t event);
6092event_t __attribute__((overloadable)) async_work_group_strided_copy(__global char3 *dst, const __local char3 *src, size_t num_elements, size_t dst_stride, event_t event);
6093event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uchar3 *dst, const __local uchar3 *src, size_t num_elements, size_t dst_stride, event_t event);
6094event_t __attribute__((overloadable)) async_work_group_strided_copy(__global short3 *dst, const __local short3 *src, size_t num_elements, size_t dst_stride, event_t event);
6095event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ushort3 *dst, const __local ushort3 *src, size_t num_elements, size_t dst_stride, event_t event);
6096event_t __attribute__((overloadable)) async_work_group_strided_copy(__global int3 *dst, const __local int3 *src, size_t num_elements, size_t dst_stride, event_t event);
6097event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uint3 *dst, const __local uint3 *src, size_t num_elements, size_t dst_stride, event_t event);
6098event_t __attribute__((overloadable)) async_work_group_strided_copy(__global long3 *dst, const __local long3 *src, size_t num_elements, size_t dst_stride, event_t event);
6099event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ulong3 *dst, const __local ulong3 *src, size_t num_elements, size_t dst_stride, event_t event);
6100event_t __attribute__((overloadable)) async_work_group_strided_copy(__global float3 *dst, const __local float3 *src, size_t num_elements, size_t dst_stride, event_t event);
6101event_t __attribute__((overloadable)) async_work_group_strided_copy(__global char4 *dst, const __local char4 *src, size_t num_elements, size_t dst_stride, event_t event);
6102event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uchar4 *dst, const __local uchar4 *src, size_t num_elements, size_t dst_stride, event_t event);
6103event_t __attribute__((overloadable)) async_work_group_strided_copy(__global short4 *dst, const __local short4 *src, size_t num_elements, size_t dst_stride, event_t event);
6104event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ushort4 *dst, const __local ushort4 *src, size_t num_elements, size_t dst_stride, event_t event);
6105event_t __attribute__((overloadable)) async_work_group_strided_copy(__global int4 *dst, const __local int4 *src, size_t num_elements, size_t dst_stride, event_t event);
6106event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uint4 *dst, const __local uint4 *src, size_t num_elements, size_t dst_stride, event_t event);
6107event_t __attribute__((overloadable)) async_work_group_strided_copy(__global long4 *dst, const __local long4 *src, size_t num_elements, size_t dst_stride, event_t event);
6108event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ulong4 *dst, const __local ulong4 *src, size_t num_elements, size_t dst_stride, event_t event);
6109event_t __attribute__((overloadable)) async_work_group_strided_copy(__global float4 *dst, const __local float4 *src, size_t num_elements, size_t dst_stride, event_t event);
6110event_t __attribute__((overloadable)) async_work_group_strided_copy(__global char8 *dst, const __local char8 *src, size_t num_elements, size_t dst_stride, event_t event);
6111event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uchar8 *dst, const __local uchar8 *src, size_t num_elements, size_t dst_stride, event_t event);
6112event_t __attribute__((overloadable)) async_work_group_strided_copy(__global short8 *dst, const __local short8 *src, size_t num_elements, size_t dst_stride, event_t event);
6113event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ushort8 *dst, const __local ushort8 *src, size_t num_elements, size_t dst_stride, event_t event);
6114event_t __attribute__((overloadable)) async_work_group_strided_copy(__global int8 *dst, const __local int8 *src, size_t num_elements, size_t dst_stride, event_t event);
6115event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uint8 *dst, const __local uint8 *src, size_t num_elements, size_t dst_stride, event_t event);
6116event_t __attribute__((overloadable)) async_work_group_strided_copy(__global long8 *dst, const __local long8 *src, size_t num_elements, size_t dst_stride, event_t event);
6117event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ulong8 *dst, const __local ulong8 *src, size_t num_elements, size_t dst_stride, event_t event);
6118event_t __attribute__((overloadable)) async_work_group_strided_copy(__global float8 *dst, const __local float8 *src, size_t num_elements, size_t dst_stride, event_t event);
6119event_t __attribute__((overloadable)) async_work_group_strided_copy(__global char16 *dst, const __local char16 *src, size_t num_elements, size_t dst_stride, event_t event);
6120event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uchar16 *dst, const __local uchar16 *src, size_t num_elements, size_t dst_stride, event_t event);
6121event_t __attribute__((overloadable)) async_work_group_strided_copy(__global short16 *dst, const __local short16 *src, size_t num_elements, size_t dst_stride, event_t event);
6122event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ushort16 *dst, const __local ushort16 *src, size_t num_elements, size_t dst_stride, event_t event);
6123event_t __attribute__((overloadable)) async_work_group_strided_copy(__global int16 *dst, const __local int16 *src, size_t num_elements, size_t dst_stride, event_t event);
6124event_t __attribute__((overloadable)) async_work_group_strided_copy(__global uint16 *dst, const __local uint16 *src, size_t num_elements, size_t dst_stride, event_t event);
6125event_t __attribute__((overloadable)) async_work_group_strided_copy(__global long16 *dst, const __local long16 *src, size_t num_elements, size_t dst_stride, event_t event);
6126event_t __attribute__((overloadable)) async_work_group_strided_copy(__global ulong16 *dst, const __local ulong16 *src, size_t num_elements, size_t dst_stride, event_t event);
6127event_t __attribute__((overloadable)) async_work_group_strided_copy(__global float16 *dst, const __local float16 *src, size_t num_elements, size_t dst_stride, event_t event);
6128event_t __attribute__((overloadable)) async_work_group_strided_copy(__local double *dst, const __global double *src, size_t num_elements, size_t src_stride, event_t event);
6129event_t __attribute__((overloadable)) async_work_group_strided_copy(__local double2 *dst, const __global double2 *src, size_t num_elements, size_t src_stride, event_t event);
6130event_t __attribute__((overloadable)) async_work_group_strided_copy(__local double3 *dst, const __global double3 *src, size_t num_elements, size_t src_stride, event_t event);
6131event_t __attribute__((overloadable)) async_work_group_strided_copy(__local double4 *dst, const __global double4 *src, size_t num_elements, size_t src_stride, event_t event);
6132event_t __attribute__((overloadable)) async_work_group_strided_copy(__local double8 *dst, const __global double8 *src, size_t num_elements, size_t src_stride, event_t event);
6133event_t __attribute__((overloadable)) async_work_group_strided_copy(__local double16 *dst, const __global double16 *src, size_t num_elements, size_t src_stride, event_t event);
6134event_t __attribute__((overloadable)) async_work_group_strided_copy(__global double *dst, const __local double *src, size_t num_elements, size_t dst_stride, event_t event);
6135event_t __attribute__((overloadable)) async_work_group_strided_copy(__global double2 *dst, const __local double2 *src, size_t num_elements, size_t dst_stride, event_t event);
6136event_t __attribute__((overloadable)) async_work_group_strided_copy(__global double3 *dst, const __local double3 *src, size_t num_elements, size_t dst_stride, event_t event);
6137event_t __attribute__((overloadable)) async_work_group_strided_copy(__global double4 *dst, const __local double4 *src, size_t num_elements, size_t dst_stride, event_t event);
6138event_t __attribute__((overloadable)) async_work_group_strided_copy(__global double8 *dst, const __local double8 *src, size_t num_elements, size_t dst_stride, event_t event);
6139event_t __attribute__((overloadable)) async_work_group_strided_copy(__global double16 *dst, const __local double16 *src, size_t num_elements, size_t dst_stride, event_t event);
6140event_t __attribute__((overloadable)) async_work_group_strided_copy(__local half *dst, const __global half *src, size_t num_elements, size_t src_stride, event_t event);
6141event_t __attribute__((overloadable)) async_work_group_strided_copy(__local half2 *dst, const __global half2 *src, size_t num_elements, size_t src_stride, event_t event);
6142event_t __attribute__((overloadable)) async_work_group_strided_copy(__local half4 *dst, const __global half4 *src, size_t num_elements, size_t src_stride, event_t event);
6143event_t __attribute__((overloadable)) async_work_group_strided_copy(__local half8 *dst, const __global half8 *src, size_t num_elements, size_t src_stride, event_t event);
6144event_t __attribute__((overloadable)) async_work_group_strided_copy(__local half16 *dst, const __global half16 *src, size_t num_elements, size_t src_stride, event_t event);
6145event_t __attribute__((overloadable)) async_work_group_strided_copy(__global half *dst, const __local half *src, size_t num_elements, size_t dst_stride, event_t event);
6146event_t __attribute__((overloadable)) async_work_group_strided_copy(__global half2 *dst, const __local half2 *src, size_t num_elements, size_t dst_stride, event_t event);
6147event_t __attribute__((overloadable)) async_work_group_strided_copy(__global half4 *dst, const __local half4 *src, size_t num_elements, size_t dst_stride, event_t event);
6148event_t __attribute__((overloadable)) async_work_group_strided_copy(__global half8 *dst, const __local half8 *src, size_t num_elements, size_t dst_stride, event_t event);
6149event_t __attribute__((overloadable)) async_work_group_strided_copy(__global half16 *dst, const __local half16 *src, size_t num_elements, size_t dst_stride, event_t event);
6150
6151/**
6152 * Wait for events that identify the
6153 * async_work_group_copy operations to
6154 * complete. The event objects specified in
6155 * event_list will be released after the wait is
6156 * performed.
6157 * This function must be encountered by all workitems
6158 * in a work-group executing the kernel with
6159 * the same num_events and event objects specified
6160 * in event_list; otherwise the results are undefined.
6161 */
6162void __attribute__((overloadable)) wait_group_events(int num_events, event_t *event_list);
6163
6164/**
6165 * Prefetch num_elements * sizeof(gentype)
6166 * bytes into the global cache. The prefetch
6167 * instruction is applied to a work-item in a workgroup
6168 * and does not affect the functional
6169 * behavior of the kernel.
6170 */
6171void __attribute__((overloadable)) prefetch(const __global char *p, size_t num_elements);
6172void __attribute__((overloadable)) prefetch(const __global uchar *p, size_t num_elements);
6173void __attribute__((overloadable)) prefetch(const __global short *p, size_t num_elements);
6174void __attribute__((overloadable)) prefetch(const __global ushort *p, size_t num_elements);
6175void __attribute__((overloadable)) prefetch(const __global int *p, size_t num_elements);
6176void __attribute__((overloadable)) prefetch(const __global uint *p, size_t num_elements);
6177void __attribute__((overloadable)) prefetch(const __global long *p, size_t num_elements);
6178void __attribute__((overloadable)) prefetch(const __global ulong *p, size_t num_elements);
6179void __attribute__((overloadable)) prefetch(const __global float *p, size_t num_elements);
6180void __attribute__((overloadable)) prefetch(const __global char2 *p, size_t num_elements);
6181void __attribute__((overloadable)) prefetch(const __global uchar2 *p, size_t num_elements);
6182void __attribute__((overloadable)) prefetch(const __global short2 *p, size_t num_elements);
6183void __attribute__((overloadable)) prefetch(const __global ushort2 *p, size_t num_elements);
6184void __attribute__((overloadable)) prefetch(const __global int2 *p, size_t num_elements);
6185void __attribute__((overloadable)) prefetch(const __global uint2 *p, size_t num_elements);
6186void __attribute__((overloadable)) prefetch(const __global long2 *p, size_t num_elements);
6187void __attribute__((overloadable)) prefetch(const __global ulong2 *p, size_t num_elements);
6188void __attribute__((overloadable)) prefetch(const __global float2 *p, size_t num_elements);
6189void __attribute__((overloadable)) prefetch(const __global char3 *p, size_t num_elements);
6190void __attribute__((overloadable)) prefetch(const __global uchar3 *p, size_t num_elements);
6191void __attribute__((overloadable)) prefetch(const __global short3 *p, size_t num_elements);
6192void __attribute__((overloadable)) prefetch(const __global ushort3 *p, size_t num_elements);
6193void __attribute__((overloadable)) prefetch(const __global int3 *p, size_t num_elements);
6194void __attribute__((overloadable)) prefetch(const __global uint3 *p, size_t num_elements);
6195void __attribute__((overloadable)) prefetch(const __global long3 *p, size_t num_elements);
6196void __attribute__((overloadable)) prefetch(const __global ulong3 *p, size_t num_elements);
6197void __attribute__((overloadable)) prefetch(const __global float3 *p, size_t num_elements);
6198void __attribute__((overloadable)) prefetch(const __global char4 *p, size_t num_elements);
6199void __attribute__((overloadable)) prefetch(const __global uchar4 *p, size_t num_elements);
6200void __attribute__((overloadable)) prefetch(const __global short4 *p, size_t num_elements);
6201void __attribute__((overloadable)) prefetch(const __global ushort4 *p, size_t num_elements);
6202void __attribute__((overloadable)) prefetch(const __global int4 *p, size_t num_elements);
6203void __attribute__((overloadable)) prefetch(const __global uint4 *p, size_t num_elements);
6204void __attribute__((overloadable)) prefetch(const __global long4 *p, size_t num_elements);
6205void __attribute__((overloadable)) prefetch(const __global ulong4 *p, size_t num_elements);
6206void __attribute__((overloadable)) prefetch(const __global float4 *p, size_t num_elements);
6207void __attribute__((overloadable)) prefetch(const __global char8 *p, size_t num_elements);
6208void __attribute__((overloadable)) prefetch(const __global uchar8 *p, size_t num_elements);
6209void __attribute__((overloadable)) prefetch(const __global short8 *p, size_t num_elements);
6210void __attribute__((overloadable)) prefetch(const __global ushort8 *p, size_t num_elements);
6211void __attribute__((overloadable)) prefetch(const __global int8 *p, size_t num_elements);
6212void __attribute__((overloadable)) prefetch(const __global uint8 *p, size_t num_elements);
6213void __attribute__((overloadable)) prefetch(const __global long8 *p, size_t num_elements);
6214void __attribute__((overloadable)) prefetch(const __global ulong8 *p, size_t num_elements);
6215void __attribute__((overloadable)) prefetch(const __global float8 *p, size_t num_elements);
6216void __attribute__((overloadable)) prefetch(const __global char16 *p, size_t num_elements);
6217void __attribute__((overloadable)) prefetch(const __global uchar16 *p, size_t num_elements);
6218void __attribute__((overloadable)) prefetch(const __global short16 *p, size_t num_elements);
6219void __attribute__((overloadable)) prefetch(const __global ushort16 *p, size_t num_elements);
6220void __attribute__((overloadable)) prefetch(const __global int16 *p, size_t num_elements);
6221void __attribute__((overloadable)) prefetch(const __global uint16 *p, size_t num_elements);
6222void __attribute__((overloadable)) prefetch(const __global long16 *p, size_t num_elements);
6223void __attribute__((overloadable)) prefetch(const __global ulong16 *p, size_t num_elements);
6224void __attribute__((overloadable)) prefetch(const __global float16 *p, size_t num_elements);
6225void __attribute__((overloadable)) prefetch(const __global double *p, size_t num_elements);
6226void __attribute__((overloadable)) prefetch(const __global double2 *p, size_t num_elements);
6227void __attribute__((overloadable)) prefetch(const __global double3 *p, size_t num_elements);
6228void __attribute__((overloadable)) prefetch(const __global double4 *p, size_t num_elements);
6229void __attribute__((overloadable)) prefetch(const __global double8 *p, size_t num_elements);
6230void __attribute__((overloadable)) prefetch(const __global double16 *p, size_t num_elements);
6231void __attribute__((overloadable)) prefetch(const __global half *p, size_t num_elements);
6232void __attribute__((overloadable)) prefetch(const __global half2 *p, size_t num_elements);
6233void __attribute__((overloadable)) prefetch(const __global half4 *p, size_t num_elements);
6234void __attribute__((overloadable)) prefetch(const __global half8 *p, size_t num_elements);
6235void __attribute__((overloadable)) prefetch(const __global half16 *p, size_t num_elements);
6236
6237// Atomic functions
6238
6239/**
6240 * Read the 32-bit value (referred to as old)
6241 * stored at location pointed by p. Compute
6242 * (old + val) and store result at location
6243 * pointed by p. The function returns old.
6244 */
6245int __attribute__((overloadable)) atomic_add(volatile __global int *p, int val);
6246unsigned int __attribute__((overloadable)) atomic_add(volatile __global unsigned int *p, unsigned int val);
6247int __attribute__((overloadable)) atomic_add(volatile __local int *p, int val);
6248unsigned int __attribute__((overloadable)) atomic_add(volatile __local unsigned int *p, unsigned int val);
6249
6250int __attribute__((overloadable)) atom_add(__global int *p, int val);
6251unsigned int __attribute__((overloadable)) atom_add(__global unsigned int *p, unsigned int val);
6252int __attribute__((overloadable)) atom_add(__local int *p, int val);
6253unsigned int __attribute__((overloadable)) atom_add(__local unsigned int *p, unsigned int val);
6254
6255int __attribute__((overloadable)) atom_add(volatile __global int *p, int val);
6256unsigned int __attribute__((overloadable)) atom_add(volatile __global unsigned int *p, unsigned int val);
6257int __attribute__((overloadable)) atom_add(volatile __local int *p, int val);
6258unsigned int __attribute__((overloadable)) atom_add(volatile __local unsigned int *p, unsigned int val);
6259
6260/**
6261 * unsigned int atomic_sub (
6262 * volatile __global unsigned int *p,
6263 * unsigned int val)
6264 * int atomic_sub (volatile __local int *p, int val)
6265 * unsigned int atomic_sub (
6266 * volatile __local unsigned int *p,
6267 * unsigned int val)
6268 * Read the 32-bit value (referred to as old)
6269 * stored at location pointed by p. Compute
6270 * (old - val) and store result at location
6271 * pointed by p. The function returns old.
6272 */
6273int __attribute__((overloadable)) atomic_sub(volatile __global int *p, int val);
6274unsigned int __attribute__((overloadable)) atomic_sub(volatile __global unsigned int *p, unsigned int val);
6275int __attribute__((overloadable)) atomic_sub(volatile __local int *p, int val);
6276unsigned int __attribute__((overloadable)) atomic_sub(volatile __local unsigned int *p, unsigned int val);
6277
6278int __attribute__((overloadable)) atom_sub(__global int *p, int val);
6279unsigned int __attribute__((overloadable)) atom_sub(__global unsigned int *p, unsigned int val);
6280int __attribute__((overloadable)) atom_sub(__local int *p, int val);
6281unsigned int __attribute__((overloadable)) atom_sub(__local unsigned int *p, unsigned int val);
6282
6283int __attribute__((overloadable)) atom_sub(volatile __global int *p, int val);
6284unsigned int __attribute__((overloadable)) atom_sub(volatile __global unsigned int *p, unsigned int val);
6285int __attribute__((overloadable)) atom_sub(volatile __local int *p, int val);
6286unsigned int __attribute__((overloadable)) atom_sub(volatile __local unsigned int *p, unsigned int val);
6287
6288/**
6289 * Swaps the old value stored at location p
6290 * with new value given by val. Returns old
6291 * value.
6292 */
6293int __attribute__((overloadable)) atomic_xchg(volatile __global int *p, int val);
6294unsigned int __attribute__((overloadable)) atomic_xchg(volatile __global unsigned int *p, unsigned int val);
6295float __attribute__((overloadable)) atomic_xchg(volatile __global float *p, float val);
6296int __attribute__((overloadable)) atomic_xchg(volatile __local int *p, int val);
6297unsigned int __attribute__((overloadable)) atomic_xchg(volatile __local unsigned int *p, unsigned int val);
6298float __attribute__((overloadable)) atomic_xchg(volatile __local float *p, float val);
6299
6300int __attribute__((overloadable)) atom_xchg(__global int *p, int val);
6301unsigned int __attribute__((overloadable)) atom_xchg(__global unsigned int *p, unsigned int val);
6302int __attribute__((overloadable)) atom_xchg(__local int *p, int val);
6303unsigned int __attribute__((overloadable)) atom_xchg(__local unsigned int *p, unsigned int val);
6304
6305int __attribute__((overloadable)) atom_xchg(volatile __global int *p, int val);
6306unsigned int __attribute__((overloadable)) atom_xchg(volatile __global unsigned int *p, unsigned int val);
6307int __attribute__((overloadable)) atom_xchg(volatile __local int *p, int val);
6308unsigned int __attribute__((overloadable)) atom_xchg(volatile __local unsigned int *p, unsigned int val);
6309
6310/**
6311 * Read the 32-bit value (referred to as old)
6312 * stored at location pointed by p. Compute
6313 * (old + 1) and store result at location
6314 * pointed by p. The function returns old.
6315 */
6316int __attribute__((overloadable)) atomic_inc(volatile __global int *p);
6317unsigned int __attribute__((overloadable)) atomic_inc(volatile __global unsigned int *p);
6318int __attribute__((overloadable)) atomic_inc(volatile __local int *p);
6319unsigned int __attribute__((overloadable)) atomic_inc(volatile __local unsigned int *p);
6320
6321int __attribute__((overloadable)) atom_inc(__global int *p);
6322unsigned int __attribute__((overloadable)) atom_inc(__global unsigned int *p);
6323int __attribute__((overloadable)) atom_inc(__local int *p);
6324unsigned int __attribute__((overloadable)) atom_inc(__local unsigned int *p);
6325
6326int __attribute__((overloadable)) atom_inc(volatile __global int *p);
6327unsigned int __attribute__((overloadable)) atom_inc(volatile __global unsigned int *p);
6328int __attribute__((overloadable)) atom_inc(volatile __local int *p);
6329unsigned int __attribute__((overloadable)) atom_inc(volatile __local unsigned int *p);
6330
6331/**
6332 * Read the 32-bit value (referred to as old)
6333 * stored at location pointed by p. Compute
6334 * (old - 1) and store result at location
6335 * pointed by p. The function returns old.
6336 */
6337int __attribute__((overloadable)) atomic_dec(volatile __global int *p);
6338unsigned int __attribute__((overloadable)) atomic_dec(volatile __global unsigned int *p);
6339int __attribute__((overloadable)) atomic_dec(volatile __local int *p);
6340unsigned int __attribute__((overloadable)) atomic_dec(volatile __local unsigned int *p);
6341
6342int __attribute__((overloadable)) atom_dec(__global int *p);
6343unsigned int __attribute__((overloadable)) atom_dec(__global unsigned int *p);
6344int __attribute__((overloadable)) atom_dec(__local int *p);
6345unsigned int __attribute__((overloadable)) atom_dec(__local unsigned int *p);
6346
6347int __attribute__((overloadable)) atom_dec(volatile __global int *p);
6348unsigned int __attribute__((overloadable)) atom_dec(volatile __global unsigned int *p);
6349int __attribute__((overloadable)) atom_dec(volatile __local int *p);
6350unsigned int __attribute__((overloadable)) atom_dec(volatile __local unsigned int *p);
6351
6352/**
6353 * Read the 32-bit value (referred to as old)
6354 * stored at location pointed by p. Compute
6355 * (old == cmp) ? val : old and store result at
6356 * location pointed by p. The function
6357 * returns old.
6358 */
6359int __attribute__((overloadable)) atomic_cmpxchg(volatile __global int *p, int cmp, int val);
6360unsigned int __attribute__((overloadable)) atomic_cmpxchg(volatile __global unsigned int *p, unsigned int cmp, unsigned int val);
6361int __attribute__((overloadable)) atomic_cmpxchg(volatile __local int *p, int cmp, int val);
6362unsigned int __attribute__((overloadable)) atomic_cmpxchg(volatile __local unsigned int *p, unsigned int cmp, unsigned int val);
6363
6364int __attribute__((overloadable)) atom_cmpxchg(__global int *p, int cmp, int val);
6365unsigned int __attribute__((overloadable)) atom_cmpxchg(__global unsigned int *p, unsigned int cmp, unsigned int val);
6366int __attribute__((overloadable)) atom_cmpxchg(__local int *p, int cmp, int val);
6367unsigned int __attribute__((overloadable)) atom_cmpxchg(__local unsigned int *p, unsigned int cmp, unsigned int val);
6368
6369int __attribute__((overloadable)) atom_cmpxchg(volatile __global int *p, int cmp, int val);
6370unsigned int __attribute__((overloadable)) atom_cmpxchg(volatile __global unsigned int *p, unsigned int cmp, unsigned int val);
6371int __attribute__((overloadable)) atom_cmpxchg(volatile __local int *p, int cmp, int val);
6372unsigned int __attribute__((overloadable)) atom_cmpxchg(volatile __local unsigned int *p, unsigned int cmp, unsigned int val);
6373
6374/**
6375 * Read the 32-bit value (referred to as old)
6376 * stored at location pointed by p. Compute
6377 * min(old, val) and store minimum value at
6378 * location pointed by p. The function
6379 * returns old.
6380 */
6381int __attribute__((overloadable)) atomic_min(volatile __global int *p, int val);
6382unsigned int __attribute__((overloadable)) atomic_min(volatile __global unsigned int *p, unsigned int val);
6383int __attribute__((overloadable)) atomic_min(volatile __local int *p, int val);
6384unsigned int __attribute__((overloadable)) atomic_min(volatile __local unsigned int *p, unsigned int val);
6385
6386int __attribute__((overloadable)) atom_min(__global int *p, int val);
6387unsigned int __attribute__((overloadable)) atom_min(__global unsigned int *p, unsigned int val);
6388int __attribute__((overloadable)) atom_min(__local int *p, int val);
6389unsigned int __attribute__((overloadable)) atom_min(__local unsigned int *p, unsigned int val);
6390
6391int __attribute__((overloadable)) atom_min(volatile __global int *p, int val);
6392unsigned int __attribute__((overloadable)) atom_min(volatile __global unsigned int *p, unsigned int val);
6393int __attribute__((overloadable)) atom_min(volatile __local int *p, int val);
6394unsigned int __attribute__((overloadable)) atom_min(volatile __local unsigned int *p, unsigned int val);
6395
6396/**
6397 * Read the 32-bit value (referred to as old)
6398 * stored at location pointed by p. Compute
6399 * max(old, val) and store maximum value at
6400 * location pointed by p. The function
6401 * returns old.
6402 */
6403int __attribute__((overloadable)) atomic_max(volatile __global int *p, int val);
6404unsigned int __attribute__((overloadable)) atomic_max(volatile __global unsigned int *p, unsigned int val);
6405int __attribute__((overloadable)) atomic_max(volatile __local int *p, int val);
6406unsigned int __attribute__((overloadable)) atomic_max(volatile __local unsigned int *p, unsigned int val);
6407
6408int __attribute__((overloadable)) atom_max(__global int *p, int val);
6409unsigned int __attribute__((overloadable)) atom_max(__global unsigned int *p, unsigned int val);
6410int __attribute__((overloadable)) atom_max(__local int *p, int val);
6411unsigned int __attribute__((overloadable)) atom_max(__local unsigned int *p, unsigned int val);
6412
6413int __attribute__((overloadable)) atom_max(volatile __global int *p, int val);
6414unsigned int __attribute__((overloadable)) atom_max(volatile __global unsigned int *p, unsigned int val);
6415int __attribute__((overloadable)) atom_max(volatile __local int *p, int val);
6416unsigned int __attribute__((overloadable)) atom_max(volatile __local unsigned int *p, unsigned int val);
6417
6418/**
6419 * Read the 32-bit value (referred to as old)
6420 * stored at location pointed by p. Compute
6421 * (old & val) and store result at location
6422 * pointed by p. The function returns old.
6423 */
6424int __attribute__((overloadable)) atomic_and(volatile __global int *p, int val);
6425unsigned int __attribute__((overloadable)) atomic_and(volatile __global unsigned int *p, unsigned int val);
6426int __attribute__((overloadable)) atomic_and(volatile __local int *p, int val);
6427unsigned int __attribute__((overloadable)) atomic_and(volatile __local unsigned int *p, unsigned int val);
6428
6429int __attribute__((overloadable)) atom_and(__global int *p, int val);
6430unsigned int __attribute__((overloadable)) atom_and(__global unsigned int *p, unsigned int val);
6431int __attribute__((overloadable)) atom_and(__local int *p, int val);
6432unsigned int __attribute__((overloadable)) atom_and(__local unsigned int *p, unsigned int val);
6433
6434int __attribute__((overloadable)) atom_and(volatile __global int *p, int val);
6435unsigned int __attribute__((overloadable)) atom_and(volatile __global unsigned int *p, unsigned int val);
6436int __attribute__((overloadable)) atom_and(volatile __local int *p, int val);
6437unsigned int __attribute__((overloadable)) atom_and(volatile __local unsigned int *p, unsigned int val);
6438
6439/**
6440 * Read the 32-bit value (referred to as old)
6441 * stored at location pointed by p. Compute
6442 * (old | val) and store result at location
6443 * pointed by p. The function returns old.
6444 */
6445int __attribute__((overloadable)) atomic_or(volatile __global int *p, int val);
6446unsigned int __attribute__((overloadable)) atomic_or(volatile __global unsigned int *p, unsigned int val);
6447int __attribute__((overloadable)) atomic_or(volatile __local int *p, int val);
6448unsigned int __attribute__((overloadable)) atomic_or(volatile __local unsigned int *p, unsigned int val);
6449
6450int __attribute__((overloadable)) atom_or(__global int *p, int val);
6451unsigned int __attribute__((overloadable)) atom_or(__global unsigned int *p, unsigned int val);
6452int __attribute__((overloadable)) atom_or(__local int *p, int val);
6453unsigned int __attribute__((overloadable)) atom_or(__local unsigned int *p, unsigned int val);
6454
6455int __attribute__((overloadable)) atom_or(volatile __global int *p, int val);
6456unsigned int __attribute__((overloadable)) atom_or(volatile __global unsigned int *p, unsigned int val);
6457int __attribute__((overloadable)) atom_or(volatile __local int *p, int val);
6458unsigned int __attribute__((overloadable)) atom_or(volatile __local unsigned int *p, unsigned int val);
6459
6460/**
6461 * Read the 32-bit value (referred to as old)
6462 * stored at location pointed by p. Compute
6463 * (old ^ val) and store result at location
6464 * pointed by p. The function returns old.
6465 */
6466int __attribute__((overloadable)) atomic_xor(volatile __global int *p, int val);
6467unsigned int __attribute__((overloadable)) atomic_xor(volatile __global unsigned int *p, unsigned int val);
6468int __attribute__((overloadable)) atomic_xor(volatile __local int *p, int val);
6469unsigned int __attribute__((overloadable)) atomic_xor(volatile __local unsigned int *p, unsigned int val);
6470
6471int __attribute__((overloadable)) atom_xor(__global int *p, int val);
6472unsigned int __attribute__((overloadable)) atom_xor(__global unsigned int *p, unsigned int val);
6473int __attribute__((overloadable)) atom_xor(__local int *p, int val);
6474unsigned int __attribute__((overloadable)) atom_xor(__local unsigned int *p, unsigned int val);
6475
6476int __attribute__((overloadable)) atom_xor(volatile __global int *p, int val);
6477unsigned int __attribute__((overloadable)) atom_xor(volatile __global unsigned int *p, unsigned int val);
6478int __attribute__((overloadable)) atom_xor(volatile __local int *p, int val);
6479unsigned int __attribute__((overloadable)) atom_xor(volatile __local unsigned int *p, unsigned int val);
6480
6481// Function qualifiers (section 6.7)
6482
6483#define __kernel_exec(X, typen) __kernel \
6484 __attribute__((work_group_size_hint(X, 1, 1))) \
6485 __attribute__((vec_type_hint(typen)))
6486
6487#define kernel_exec(X, typen) __kernel \
6488 __attribute__((work_group_size_hint(X, 1, 1))) \
6489 __attribute__((vec_type_hint(typen)))
6490
6491// Miscellaneous vector functions
6492
6493/**
6494 * The shuffle and shuffle2 built-in functions construct
6495 * a permutation of elements from one or two input
6496 * vectors respectively that are of the same type,
6497 * returning a vector with the same element type as the
6498 * input and length that is the same as the shuffle mask.
6499 * The size of each element in the mask must match the
6500 * size of each element in the result. For shuffle, only
6501 * the ilogb(2m-1) least significant bits of each mask
6502 * element are considered. For shuffle2, only the
6503 * ilogb(2m-1)+1 least significant bits of each mask
6504 * element are considered. Other bits in the mask shall
6505 * be ignored.
6506 * The elements of the input vectors are numbered from
6507 * left to right across one or both of the vectors. For this
6508 * purpose, the number of elements in a vector is given
6509 * by vec_step(gentypem). The shuffle mask operand
6510 * specifies, for each element of the result vector, which
6511 * element of the one or two input vectors the result
6512 * element gets.
6513 * Examples:
6514 * uint4 mask = (uint4)(3, 2,
6515 * 1, 0);
6516 * float4 a;
6517 * float4 r = shuffle(a, mask);
6518 * // r.s0123 = a.wzyx
6519 * uint8 mask = (uint8)(0, 1, 2, 3,
6520 * 4, 5, 6, 7);
6521 * float4 a, b;
6522 * float8 r = shuffle2(a, b, mask);
6523 * // r.s0123 = a.xyzw
6524 * // r.s4567 = b.xyzw
6525 * uint4 mask;
6526 * float8 a;
6527 * float4 b;
6528 * b = shuffle(a, mask);
6529 * Examples that are not valid are:
6530 * uint8 mask;
6531 * short16 a;
6532 * short8 b;
6533 * b = shuffle(a, mask); <- not valid
6534 */
6535char2 const_func __attribute__((overloadable)) shuffle(char2 x, uchar2 mask);
6536char2 const_func __attribute__((overloadable)) shuffle(char4 x, uchar2 mask);
6537char2 const_func __attribute__((overloadable)) shuffle(char8 x, uchar2 mask);
6538char2 const_func __attribute__((overloadable)) shuffle(char16 x, uchar2 mask);
6539
6540uchar2 const_func __attribute__((overloadable)) shuffle(uchar2 x, uchar2 mask);
6541uchar2 const_func __attribute__((overloadable)) shuffle(uchar4 x, uchar2 mask);
6542uchar2 const_func __attribute__((overloadable)) shuffle(uchar8 x, uchar2 mask);
6543uchar2 const_func __attribute__((overloadable)) shuffle(uchar16 x, uchar2 mask);
6544
6545short2 const_func __attribute__((overloadable)) shuffle(short2 x, ushort2 mask);
6546short2 const_func __attribute__((overloadable)) shuffle(short4 x, ushort2 mask);
6547short2 const_func __attribute__((overloadable)) shuffle(short8 x, ushort2 mask);
6548short2 const_func __attribute__((overloadable)) shuffle(short16 x, ushort2 mask);
6549
6550ushort2 const_func __attribute__((overloadable)) shuffle(ushort2 x, ushort2 mask);
6551ushort2 const_func __attribute__((overloadable)) shuffle(ushort4 x, ushort2 mask);
6552ushort2 const_func __attribute__((overloadable)) shuffle(ushort8 x, ushort2 mask);
6553ushort2 const_func __attribute__((overloadable)) shuffle(ushort16 x, ushort2 mask);
6554
6555int2 const_func __attribute__((overloadable)) shuffle(int2 x, uint2 mask);
6556int2 const_func __attribute__((overloadable)) shuffle(int4 x, uint2 mask);
6557int2 const_func __attribute__((overloadable)) shuffle(int8 x, uint2 mask);
6558int2 const_func __attribute__((overloadable)) shuffle(int16 x, uint2 mask);
6559
6560uint2 const_func __attribute__((overloadable)) shuffle(uint2 x, uint2 mask);
6561uint2 const_func __attribute__((overloadable)) shuffle(uint4 x, uint2 mask);
6562uint2 const_func __attribute__((overloadable)) shuffle(uint8 x, uint2 mask);
6563uint2 const_func __attribute__((overloadable)) shuffle(uint16 x, uint2 mask);
6564
6565long2 const_func __attribute__((overloadable)) shuffle(long2 x, ulong2 mask);
6566long2 const_func __attribute__((overloadable)) shuffle(long4 x, ulong2 mask);
6567long2 const_func __attribute__((overloadable)) shuffle(long8 x, ulong2 mask);
6568long2 const_func __attribute__((overloadable)) shuffle(long16 x, ulong2 mask);
6569
6570ulong2 const_func __attribute__((overloadable)) shuffle(ulong2 x, ulong2 mask);
6571ulong2 const_func __attribute__((overloadable)) shuffle(ulong4 x, ulong2 mask);
6572ulong2 const_func __attribute__((overloadable)) shuffle(ulong8 x, ulong2 mask);
6573ulong2 const_func __attribute__((overloadable)) shuffle(ulong16 x, ulong2 mask);
6574
6575//half2 const_func __attribute__((overloadable)) shuffle(half2 x, ushort2 mask);
6576//half2 const_func __attribute__((overloadable)) shuffle(half4 x, ushort2 mask);
6577//half2 const_func __attribute__((overloadable)) shuffle(half8 x, ushort2 mask);
6578//half2 const_func __attribute__((overloadable)) shuffle(half16 x, ushort2 mask);
6579
6580float2 const_func __attribute__((overloadable)) shuffle(float2 x, uint2 mask);
6581float2 const_func __attribute__((overloadable)) shuffle(float4 x, uint2 mask);
6582float2 const_func __attribute__((overloadable)) shuffle(float8 x, uint2 mask);
6583float2 const_func __attribute__((overloadable)) shuffle(float16 x, uint2 mask);
6584
6585double2 const_func __attribute__((overloadable)) shuffle(double2 x, ulong2 mask);
6586double2 const_func __attribute__((overloadable)) shuffle(double4 x, ulong2 mask);
6587double2 const_func __attribute__((overloadable)) shuffle(double8 x, ulong2 mask);
6588double2 const_func __attribute__((overloadable)) shuffle(double16 x, ulong2 mask);
6589
6590char4 const_func __attribute__((overloadable)) shuffle(char2 x, uchar4 mask);
6591char4 const_func __attribute__((overloadable)) shuffle(char4 x, uchar4 mask);
6592char4 const_func __attribute__((overloadable)) shuffle(char8 x, uchar4 mask);
6593char4 const_func __attribute__((overloadable)) shuffle(char16 x, uchar4 mask);
6594
6595uchar4 const_func __attribute__((overloadable)) shuffle(uchar2 x, uchar4 mask);
6596uchar4 const_func __attribute__((overloadable)) shuffle(uchar4 x, uchar4 mask);
6597uchar4 const_func __attribute__((overloadable)) shuffle(uchar8 x, uchar4 mask);
6598uchar4 const_func __attribute__((overloadable)) shuffle(uchar16 x, uchar4 mask);
6599
6600short4 const_func __attribute__((overloadable)) shuffle(short2 x, ushort4 mask);
6601short4 const_func __attribute__((overloadable)) shuffle(short4 x, ushort4 mask);
6602short4 const_func __attribute__((overloadable)) shuffle(short8 x, ushort4 mask);
6603short4 const_func __attribute__((overloadable)) shuffle(short16 x, ushort4 mask);
6604
6605ushort4 const_func __attribute__((overloadable)) shuffle(ushort2 x, ushort4 mask);
6606ushort4 const_func __attribute__((overloadable)) shuffle(ushort4 x, ushort4 mask);
6607ushort4 const_func __attribute__((overloadable)) shuffle(ushort8 x, ushort4 mask);
6608ushort4 const_func __attribute__((overloadable)) shuffle(ushort16 x, ushort4 mask);
6609
6610int4 const_func __attribute__((overloadable)) shuffle(int2 x, uint4 mask);
6611int4 const_func __attribute__((overloadable)) shuffle(int4 x, uint4 mask);
6612int4 const_func __attribute__((overloadable)) shuffle(int8 x, uint4 mask);
6613int4 const_func __attribute__((overloadable)) shuffle(int16 x, uint4 mask);
6614
6615uint4 const_func __attribute__((overloadable)) shuffle(uint2 x, uint4 mask);
6616uint4 const_func __attribute__((overloadable)) shuffle(uint4 x, uint4 mask);
6617uint4 const_func __attribute__((overloadable)) shuffle(uint8 x, uint4 mask);
6618uint4 const_func __attribute__((overloadable)) shuffle(uint16 x, uint4 mask);
6619
6620long4 const_func __attribute__((overloadable)) shuffle(long2 x, ulong4 mask);
6621long4 const_func __attribute__((overloadable)) shuffle(long4 x, ulong4 mask);
6622long4 const_func __attribute__((overloadable)) shuffle(long8 x, ulong4 mask);
6623long4 const_func __attribute__((overloadable)) shuffle(long16 x, ulong4 mask);
6624
6625ulong4 const_func __attribute__((overloadable)) shuffle(ulong2 x, ulong4 mask);
6626ulong4 const_func __attribute__((overloadable)) shuffle(ulong4 x, ulong4 mask);
6627ulong4 const_func __attribute__((overloadable)) shuffle(ulong8 x, ulong4 mask);
6628ulong4 const_func __attribute__((overloadable)) shuffle(ulong16 x, ulong4 mask);
6629
6630//half4 const_func __attribute__((overloadable)) shuffle(half2 x, ushort4 mask);
6631//half4 const_func __attribute__((overloadable)) shuffle(half4 x, ushort4 mask);
6632//half4 const_func __attribute__((overloadable)) shuffle(half8 x, ushort4 mask);
6633//half4 const_func __attribute__((overloadable)) shuffle(half16 x, ushort4 mask);
6634
6635float4 const_func __attribute__((overloadable)) shuffle(float2 x, uint4 mask);
6636float4 const_func __attribute__((overloadable)) shuffle(float4 x, uint4 mask);
6637float4 const_func __attribute__((overloadable)) shuffle(float8 x, uint4 mask);
6638float4 const_func __attribute__((overloadable)) shuffle(float16 x, uint4 mask);
6639
6640double4 const_func __attribute__((overloadable)) shuffle(double2 x, ulong4 mask);
6641double4 const_func __attribute__((overloadable)) shuffle(double4 x, ulong4 mask);
6642double4 const_func __attribute__((overloadable)) shuffle(double8 x, ulong4 mask);
6643double4 const_func __attribute__((overloadable)) shuffle(double16 x, ulong4 mask);
6644
6645char8 const_func __attribute__((overloadable)) shuffle(char2 x, uchar8 mask);
6646char8 const_func __attribute__((overloadable)) shuffle(char4 x, uchar8 mask);
6647char8 const_func __attribute__((overloadable)) shuffle(char8 x, uchar8 mask);
6648char8 const_func __attribute__((overloadable)) shuffle(char16 x, uchar8 mask);
6649
6650uchar8 const_func __attribute__((overloadable)) shuffle(uchar2 x, uchar8 mask);
6651uchar8 const_func __attribute__((overloadable)) shuffle(uchar4 x, uchar8 mask);
6652uchar8 const_func __attribute__((overloadable)) shuffle(uchar8 x, uchar8 mask);
6653uchar8 const_func __attribute__((overloadable)) shuffle(uchar16 x, uchar8 mask);
6654
6655short8 const_func __attribute__((overloadable)) shuffle(short2 x, ushort8 mask);
6656short8 const_func __attribute__((overloadable)) shuffle(short4 x, ushort8 mask);
6657short8 const_func __attribute__((overloadable)) shuffle(short8 x, ushort8 mask);
6658short8 const_func __attribute__((overloadable)) shuffle(short16 x, ushort8 mask);
6659
6660ushort8 const_func __attribute__((overloadable)) shuffle(ushort2 x, ushort8 mask);
6661ushort8 const_func __attribute__((overloadable)) shuffle(ushort4 x, ushort8 mask);
6662ushort8 const_func __attribute__((overloadable)) shuffle(ushort8 x, ushort8 mask);
6663ushort8 const_func __attribute__((overloadable)) shuffle(ushort16 x, ushort8 mask);
6664
6665int8 const_func __attribute__((overloadable)) shuffle(int2 x, uint8 mask);
6666int8 const_func __attribute__((overloadable)) shuffle(int4 x, uint8 mask);
6667int8 const_func __attribute__((overloadable)) shuffle(int8 x, uint8 mask);
6668int8 const_func __attribute__((overloadable)) shuffle(int16 x, uint8 mask);
6669
6670uint8 const_func __attribute__((overloadable)) shuffle(uint2 x, uint8 mask);
6671uint8 const_func __attribute__((overloadable)) shuffle(uint4 x, uint8 mask);
6672uint8 const_func __attribute__((overloadable)) shuffle(uint8 x, uint8 mask);
6673uint8 const_func __attribute__((overloadable)) shuffle(uint16 x, uint8 mask);
6674
6675long8 const_func __attribute__((overloadable)) shuffle(long2 x, ulong8 mask);
6676long8 const_func __attribute__((overloadable)) shuffle(long4 x, ulong8 mask);
6677long8 const_func __attribute__((overloadable)) shuffle(long8 x, ulong8 mask);
6678long8 const_func __attribute__((overloadable)) shuffle(long16 x, ulong8 mask);
6679
6680ulong8 const_func __attribute__((overloadable)) shuffle(ulong2 x, ulong8 mask);
6681ulong8 const_func __attribute__((overloadable)) shuffle(ulong4 x, ulong8 mask);
6682ulong8 const_func __attribute__((overloadable)) shuffle(ulong8 x, ulong8 mask);
6683ulong8 const_func __attribute__((overloadable)) shuffle(ulong16 x, ulong8 mask);
6684
6685//half8 const_func __attribute__((overloadable)) shuffle(half2 x, ushort8 mask);
6686//half8 const_func __attribute__((overloadable)) shuffle(half4 x, ushort8 mask);
6687//half8 const_func __attribute__((overloadable)) shuffle(half8 x, ushort8 mask);
6688//half8 const_func __attribute__((overloadable)) shuffle(half16 x, ushort8 mask);
6689
6690float8 const_func __attribute__((overloadable)) shuffle(float2 x, uint8 mask);
6691float8 const_func __attribute__((overloadable)) shuffle(float4 x, uint8 mask);
6692float8 const_func __attribute__((overloadable)) shuffle(float8 x, uint8 mask);
6693float8 const_func __attribute__((overloadable)) shuffle(float16 x, uint8 mask);
6694
6695double8 const_func __attribute__((overloadable)) shuffle(double2 x, ulong8 mask);
6696double8 const_func __attribute__((overloadable)) shuffle(double4 x, ulong8 mask);
6697double8 const_func __attribute__((overloadable)) shuffle(double8 x, ulong8 mask);
6698double8 const_func __attribute__((overloadable)) shuffle(double16 x, ulong8 mask);
6699
6700char16 const_func __attribute__((overloadable)) shuffle(char2 x, uchar16 mask);
6701char16 const_func __attribute__((overloadable)) shuffle(char4 x, uchar16 mask);
6702char16 const_func __attribute__((overloadable)) shuffle(char8 x, uchar16 mask);
6703char16 const_func __attribute__((overloadable)) shuffle(char16 x, uchar16 mask);
6704
6705uchar16 const_func __attribute__((overloadable)) shuffle(uchar2 x, uchar16 mask);
6706uchar16 const_func __attribute__((overloadable)) shuffle(uchar4 x, uchar16 mask);
6707uchar16 const_func __attribute__((overloadable)) shuffle(uchar8 x, uchar16 mask);
6708uchar16 const_func __attribute__((overloadable)) shuffle(uchar16 x, uchar16 mask);
6709
6710short16 const_func __attribute__((overloadable)) shuffle(short2 x, ushort16 mask);
6711short16 const_func __attribute__((overloadable)) shuffle(short4 x, ushort16 mask);
6712short16 const_func __attribute__((overloadable)) shuffle(short8 x, ushort16 mask);
6713short16 const_func __attribute__((overloadable)) shuffle(short16 x, ushort16 mask);
6714
6715ushort16 const_func __attribute__((overloadable)) shuffle(ushort2 x, ushort16 mask);
6716ushort16 const_func __attribute__((overloadable)) shuffle(ushort4 x, ushort16 mask);
6717ushort16 const_func __attribute__((overloadable)) shuffle(ushort8 x, ushort16 mask);
6718ushort16 const_func __attribute__((overloadable)) shuffle(ushort16 x, ushort16 mask);
6719
6720int16 const_func __attribute__((overloadable)) shuffle(int2 x, uint16 mask);
6721int16 const_func __attribute__((overloadable)) shuffle(int4 x, uint16 mask);
6722int16 const_func __attribute__((overloadable)) shuffle(int8 x, uint16 mask);
6723int16 const_func __attribute__((overloadable)) shuffle(int16 x, uint16 mask);
6724
6725uint16 const_func __attribute__((overloadable)) shuffle(uint2 x, uint16 mask);
6726uint16 const_func __attribute__((overloadable)) shuffle(uint4 x, uint16 mask);
6727uint16 const_func __attribute__((overloadable)) shuffle(uint8 x, uint16 mask);
6728uint16 const_func __attribute__((overloadable)) shuffle(uint16 x, uint16 mask);
6729
6730long16 const_func __attribute__((overloadable)) shuffle(long2 x, ulong16 mask);
6731long16 const_func __attribute__((overloadable)) shuffle(long4 x, ulong16 mask);
6732long16 const_func __attribute__((overloadable)) shuffle(long8 x, ulong16 mask);
6733long16 const_func __attribute__((overloadable)) shuffle(long16 x, ulong16 mask);
6734
6735ulong16 const_func __attribute__((overloadable)) shuffle(ulong2 x, ulong16 mask);
6736ulong16 const_func __attribute__((overloadable)) shuffle(ulong4 x, ulong16 mask);
6737ulong16 const_func __attribute__((overloadable)) shuffle(ulong8 x, ulong16 mask);
6738ulong16 const_func __attribute__((overloadable)) shuffle(ulong16 x, ulong16 mask);
6739
6740//half16 const_func __attribute__((overloadable)) shuffle(half2 x, ushort16 mask);
6741//half16 const_func __attribute__((overloadable)) shuffle(half4 x, ushort16 mask);
6742//half16 const_func __attribute__((overloadable)) shuffle(half8 x, ushort16 mask);
6743//half16 const_func __attribute__((overloadable)) shuffle(half16 x, ushort16 mask);
6744
6745float16 const_func __attribute__((overloadable)) shuffle(float2 x, uint16 mask);
6746float16 const_func __attribute__((overloadable)) shuffle(float4 x, uint16 mask);
6747float16 const_func __attribute__((overloadable)) shuffle(float8 x, uint16 mask);
6748float16 const_func __attribute__((overloadable)) shuffle(float16 x, uint16 mask);
6749
6750double16 const_func __attribute__((overloadable)) shuffle(double2 x, ulong16 mask);
6751double16 const_func __attribute__((overloadable)) shuffle(double4 x, ulong16 mask);
6752double16 const_func __attribute__((overloadable)) shuffle(double8 x, ulong16 mask);
6753double16 const_func __attribute__((overloadable)) shuffle(double16 x, ulong16 mask);
6754
6755
6756char2 const_func __attribute__((overloadable)) shuffle2(char2 x, char2 y, uchar2 mask);
6757char2 const_func __attribute__((overloadable)) shuffle2(char4 x, char4 y, uchar2 mask);
6758char2 const_func __attribute__((overloadable)) shuffle2(char8 x, char8 y, uchar2 mask);
6759char2 const_func __attribute__((overloadable)) shuffle2(char16 x, char16 y, uchar2 mask);
6760
6761uchar2 const_func __attribute__((overloadable)) shuffle2(uchar2 x, uchar2 y, uchar2 mask);
6762uchar2 const_func __attribute__((overloadable)) shuffle2(uchar4 x, uchar4 y, uchar2 mask);
6763uchar2 const_func __attribute__((overloadable)) shuffle2(uchar8 x, uchar8 y, uchar2 mask);
6764uchar2 const_func __attribute__((overloadable)) shuffle2(uchar16 x, uchar16 y, uchar2 mask);
6765
6766short2 const_func __attribute__((overloadable)) shuffle2(short2 x, short2 y, ushort2 mask);
6767short2 const_func __attribute__((overloadable)) shuffle2(short4 x, short4 y, ushort2 mask);
6768short2 const_func __attribute__((overloadable)) shuffle2(short8 x, short8 y, ushort2 mask);
6769short2 const_func __attribute__((overloadable)) shuffle2(short16 x, short16 y, ushort2 mask);
6770
6771ushort2 const_func __attribute__((overloadable)) shuffle2(ushort2 x, ushort2 y, ushort2 mask);
6772ushort2 const_func __attribute__((overloadable)) shuffle2(ushort4 x, ushort4 y, ushort2 mask);
6773ushort2 const_func __attribute__((overloadable)) shuffle2(ushort8 x, ushort8 y, ushort2 mask);
6774ushort2 const_func __attribute__((overloadable)) shuffle2(ushort16 x, ushort16 y, ushort2 mask);
6775
6776int2 const_func __attribute__((overloadable)) shuffle2(int2 x, int2 y, uint2 mask);
6777int2 const_func __attribute__((overloadable)) shuffle2(int4 x, int4 y, uint2 mask);
6778int2 const_func __attribute__((overloadable)) shuffle2(int8 x, int8 y, uint2 mask);
6779int2 const_func __attribute__((overloadable)) shuffle2(int16 x, int16 y, uint2 mask);
6780
6781uint2 const_func __attribute__((overloadable)) shuffle2(uint2 x, uint2 y, uint2 mask);
6782uint2 const_func __attribute__((overloadable)) shuffle2(uint4 x, uint4 y, uint2 mask);
6783uint2 const_func __attribute__((overloadable)) shuffle2(uint8 x, uint8 y, uint2 mask);
6784uint2 const_func __attribute__((overloadable)) shuffle2(uint16 x, uint16 y, uint2 mask);
6785
6786long2 const_func __attribute__((overloadable)) shuffle2(long2 x, long2 y, ulong2 mask);
6787long2 const_func __attribute__((overloadable)) shuffle2(long4 x, long4 y, ulong2 mask);
6788long2 const_func __attribute__((overloadable)) shuffle2(long8 x, long8 y, ulong2 mask);
6789long2 const_func __attribute__((overloadable)) shuffle2(long16 x, long16 y, ulong2 mask);
6790
6791ulong2 const_func __attribute__((overloadable)) shuffle2(ulong2 x, ulong2 y, ulong2 mask);
6792ulong2 const_func __attribute__((overloadable)) shuffle2(ulong4 x, ulong4 y, ulong2 mask);
6793ulong2 const_func __attribute__((overloadable)) shuffle2(ulong8 x, ulong8 y, ulong2 mask);
6794ulong2 const_func __attribute__((overloadable)) shuffle2(ulong16 x, ulong16 y, ulong2 mask);
6795
6796//half2 const_func __attribute__((overloadable)) shuffle2(half2 x, half2 y, ushort2 mask);
6797//half2 const_func __attribute__((overloadable)) shuffle2(half4 x, half4 y, ushort2 mask);
6798//half2 const_func __attribute__((overloadable)) shuffle2(half8 x, half8 y, ushort2 mask);
6799//half2 const_func __attribute__((overloadable)) shuffle2(half16 x, half16 y, ushort2 mask);
6800
6801float2 const_func __attribute__((overloadable)) shuffle2(float2 x, float2 y, uint2 mask);
6802float2 const_func __attribute__((overloadable)) shuffle2(float4 x, float4 y, uint2 mask);
6803float2 const_func __attribute__((overloadable)) shuffle2(float8 x, float8 y, uint2 mask);
6804float2 const_func __attribute__((overloadable)) shuffle2(float16 x, float16 y, uint2 mask);
6805
6806double2 const_func __attribute__((overloadable)) shuffle2(double2 x, double2 y, ulong2 mask);
6807double2 const_func __attribute__((overloadable)) shuffle2(double4 x, double4 y, ulong2 mask);
6808double2 const_func __attribute__((overloadable)) shuffle2(double8 x, double8 y, ulong2 mask);
6809double2 const_func __attribute__((overloadable)) shuffle2(double16 x, double16 y, ulong2 mask);
6810
6811char4 const_func __attribute__((overloadable)) shuffle2(char2 x, char2 y, uchar4 mask);
6812char4 const_func __attribute__((overloadable)) shuffle2(char4 x, char4 y, uchar4 mask);
6813char4 const_func __attribute__((overloadable)) shuffle2(char8 x, char8 y, uchar4 mask);
6814char4 const_func __attribute__((overloadable)) shuffle2(char16 x, char16 y, uchar4 mask);
6815
6816uchar4 const_func __attribute__((overloadable)) shuffle2(uchar2 x, uchar2 y, uchar4 mask);
6817uchar4 const_func __attribute__((overloadable)) shuffle2(uchar4 x, uchar4 y, uchar4 mask);
6818uchar4 const_func __attribute__((overloadable)) shuffle2(uchar8 x, uchar8 y, uchar4 mask);
6819uchar4 const_func __attribute__((overloadable)) shuffle2(uchar16 x, uchar16 y, uchar4 mask);
6820
6821short4 const_func __attribute__((overloadable)) shuffle2(short2 x, short2 y, ushort4 mask);
6822short4 const_func __attribute__((overloadable)) shuffle2(short4 x, short4 y, ushort4 mask);
6823short4 const_func __attribute__((overloadable)) shuffle2(short8 x, short8 y, ushort4 mask);
6824short4 const_func __attribute__((overloadable)) shuffle2(short16 x, short16 y, ushort4 mask);
6825
6826ushort4 const_func __attribute__((overloadable)) shuffle2(ushort2 x, ushort2 y, ushort4 mask);
6827ushort4 const_func __attribute__((overloadable)) shuffle2(ushort4 x, ushort4 y, ushort4 mask);
6828ushort4 const_func __attribute__((overloadable)) shuffle2(ushort8 x, ushort8 y, ushort4 mask);
6829ushort4 const_func __attribute__((overloadable)) shuffle2(ushort16 x, ushort16 y, ushort4 mask);
6830
6831int4 const_func __attribute__((overloadable)) shuffle2(int2 x, int2 y, uint4 mask);
6832int4 const_func __attribute__((overloadable)) shuffle2(int4 x, int4 y, uint4 mask);
6833int4 const_func __attribute__((overloadable)) shuffle2(int8 x, int8 y, uint4 mask);
6834int4 const_func __attribute__((overloadable)) shuffle2(int16 x, int16 y, uint4 mask);
6835
6836uint4 const_func __attribute__((overloadable)) shuffle2(uint2 x, uint2 y, uint4 mask);
6837uint4 const_func __attribute__((overloadable)) shuffle2(uint4 x, uint4 y, uint4 mask);
6838uint4 const_func __attribute__((overloadable)) shuffle2(uint8 x, uint8 y, uint4 mask);
6839uint4 const_func __attribute__((overloadable)) shuffle2(uint16 x, uint16 y, uint4 mask);
6840
6841long4 const_func __attribute__((overloadable)) shuffle2(long2 x, long2 y, ulong4 mask);
6842long4 const_func __attribute__((overloadable)) shuffle2(long4 x, long4 y, ulong4 mask);
6843long4 const_func __attribute__((overloadable)) shuffle2(long8 x, long8 y, ulong4 mask);
6844long4 const_func __attribute__((overloadable)) shuffle2(long16 x, long16 y, ulong4 mask);
6845
6846ulong4 const_func __attribute__((overloadable)) shuffle2(ulong2 x, ulong2 y, ulong4 mask);
6847ulong4 const_func __attribute__((overloadable)) shuffle2(ulong4 x, ulong4 y, ulong4 mask);
6848ulong4 const_func __attribute__((overloadable)) shuffle2(ulong8 x, ulong8 y, ulong4 mask);
6849ulong4 const_func __attribute__((overloadable)) shuffle2(ulong16 x, ulong16 y, ulong4 mask);
6850
6851//half4 const_func __attribute__((overloadable)) shuffle2(half2 x, half2 y, ushort4 mask);
6852//half4 const_func __attribute__((overloadable)) shuffle2(half4 x, half4 y, ushort4 mask);
6853//half4 const_func __attribute__((overloadable)) shuffle2(half8 x, half8 y, ushort4 mask);
6854//half4 const_func __attribute__((overloadable)) shuffle2(half16 x, half16 y, ushort4 mask);
6855
6856float4 const_func __attribute__((overloadable)) shuffle2(float2 x, float2 y, uint4 mask);
6857float4 const_func __attribute__((overloadable)) shuffle2(float4 x, float4 y, uint4 mask);
6858float4 const_func __attribute__((overloadable)) shuffle2(float8 x, float8 y, uint4 mask);
6859float4 const_func __attribute__((overloadable)) shuffle2(float16 x, float16 y, uint4 mask);
6860
6861double4 const_func __attribute__((overloadable)) shuffle2(double2 x, double2 y, ulong4 mask);
6862double4 const_func __attribute__((overloadable)) shuffle2(double4 x, double4 y, ulong4 mask);
6863double4 const_func __attribute__((overloadable)) shuffle2(double8 x, double8 y, ulong4 mask);
6864double4 const_func __attribute__((overloadable)) shuffle2(double16 x, double16 y, ulong4 mask);
6865
6866char8 const_func __attribute__((overloadable)) shuffle2(char2 x, char2 y, uchar8 mask);
6867char8 const_func __attribute__((overloadable)) shuffle2(char4 x, char4 y, uchar8 mask);
6868char8 const_func __attribute__((overloadable)) shuffle2(char8 x, char8 y, uchar8 mask);
6869char8 const_func __attribute__((overloadable)) shuffle2(char16 x, char16 y, uchar8 mask);
6870
6871uchar8 const_func __attribute__((overloadable)) shuffle2(uchar2 x, uchar2 y, uchar8 mask);
6872uchar8 const_func __attribute__((overloadable)) shuffle2(uchar4 x, uchar4 y, uchar8 mask);
6873uchar8 const_func __attribute__((overloadable)) shuffle2(uchar8 x, uchar8 y, uchar8 mask);
6874uchar8 const_func __attribute__((overloadable)) shuffle2(uchar16 x, uchar16 y, uchar8 mask);
6875
6876short8 const_func __attribute__((overloadable)) shuffle2(short2 x, short2 y, ushort8 mask);
6877short8 const_func __attribute__((overloadable)) shuffle2(short4 x, short4 y, ushort8 mask);
6878short8 const_func __attribute__((overloadable)) shuffle2(short8 x, short8 y, ushort8 mask);
6879short8 const_func __attribute__((overloadable)) shuffle2(short16 x, short16 y, ushort8 mask);
6880
6881ushort8 const_func __attribute__((overloadable)) shuffle2(ushort2 x, ushort2 y, ushort8 mask);
6882ushort8 const_func __attribute__((overloadable)) shuffle2(ushort4 x, ushort4 y, ushort8 mask);
6883ushort8 const_func __attribute__((overloadable)) shuffle2(ushort8 x, ushort8 y, ushort8 mask);
6884ushort8 const_func __attribute__((overloadable)) shuffle2(ushort16 x, ushort16 y, ushort8 mask);
6885
6886int8 const_func __attribute__((overloadable)) shuffle2(int2 x, int2 y, uint8 mask);
6887int8 const_func __attribute__((overloadable)) shuffle2(int4 x, int4 y, uint8 mask);
6888int8 const_func __attribute__((overloadable)) shuffle2(int8 x, int8 y, uint8 mask);
6889int8 const_func __attribute__((overloadable)) shuffle2(int16 x, int16 y, uint8 mask);
6890
6891uint8 const_func __attribute__((overloadable)) shuffle2(uint2 x, uint2 y, uint8 mask);
6892uint8 const_func __attribute__((overloadable)) shuffle2(uint4 x, uint4 y, uint8 mask);
6893uint8 const_func __attribute__((overloadable)) shuffle2(uint8 x, uint8 y, uint8 mask);
6894uint8 const_func __attribute__((overloadable)) shuffle2(uint16 x, uint16 y, uint8 mask);
6895
6896long8 const_func __attribute__((overloadable)) shuffle2(long2 x, long2 y, ulong8 mask);
6897long8 const_func __attribute__((overloadable)) shuffle2(long4 x, long4 y, ulong8 mask);
6898long8 const_func __attribute__((overloadable)) shuffle2(long8 x, long8 y, ulong8 mask);
6899long8 const_func __attribute__((overloadable)) shuffle2(long16 x, long16 y, ulong8 mask);
6900
6901ulong8 const_func __attribute__((overloadable)) shuffle2(ulong2 x, ulong2 y, ulong8 mask);
6902ulong8 const_func __attribute__((overloadable)) shuffle2(ulong4 x, ulong4 y, ulong8 mask);
6903ulong8 const_func __attribute__((overloadable)) shuffle2(ulong8 x, ulong8 y, ulong8 mask);
6904ulong8 const_func __attribute__((overloadable)) shuffle2(ulong16 x, ulong16 y, ulong8 mask);
6905
6906//half8 const_func __attribute__((overloadable)) shuffle2(half2 x, half2 y, ushort8 mask);
6907//half8 const_func __attribute__((overloadable)) shuffle2(half4 x, half4 y, ushort8 mask);
6908//half8 const_func __attribute__((overloadable)) shuffle2(half8 x, half8 y, ushort8 mask);
6909//half8 const_func __attribute__((overloadable)) shuffle2(half16 x, half16 y, ushort8 mask);
6910
6911float8 const_func __attribute__((overloadable)) shuffle2(float2 x, float2 y, uint8 mask);
6912float8 const_func __attribute__((overloadable)) shuffle2(float4 x, float4 y, uint8 mask);
6913float8 const_func __attribute__((overloadable)) shuffle2(float8 x, float8 y, uint8 mask);
6914float8 const_func __attribute__((overloadable)) shuffle2(float16 x, float16 y, uint8 mask);
6915
6916double8 const_func __attribute__((overloadable)) shuffle2(double2 x, double2 y, ulong8 mask);
6917double8 const_func __attribute__((overloadable)) shuffle2(double4 x, double4 y, ulong8 mask);
6918double8 const_func __attribute__((overloadable)) shuffle2(double8 x, double8 y, ulong8 mask);
6919double8 const_func __attribute__((overloadable)) shuffle2(double16 x, double16 y, ulong8 mask);
6920
6921char16 const_func __attribute__((overloadable)) shuffle2(char2 x, char2 y, uchar16 mask);
6922char16 const_func __attribute__((overloadable)) shuffle2(char4 x, char4 y, uchar16 mask);
6923char16 const_func __attribute__((overloadable)) shuffle2(char8 x, char8 y, uchar16 mask);
6924char16 const_func __attribute__((overloadable)) shuffle2(char16 x, char16 y, uchar16 mask);
6925
6926uchar16 const_func __attribute__((overloadable)) shuffle2(uchar2 x, uchar2 y, uchar16 mask);
6927uchar16 const_func __attribute__((overloadable)) shuffle2(uchar4 x, uchar4 y, uchar16 mask);
6928uchar16 const_func __attribute__((overloadable)) shuffle2(uchar8 x, uchar8 y, uchar16 mask);
6929uchar16 const_func __attribute__((overloadable)) shuffle2(uchar16 x, uchar16 y, uchar16 mask);
6930
6931short16 const_func __attribute__((overloadable)) shuffle2(short2 x, short2 y, ushort16 mask);
6932short16 const_func __attribute__((overloadable)) shuffle2(short4 x, short4 y, ushort16 mask);
6933short16 const_func __attribute__((overloadable)) shuffle2(short8 x, short8 y, ushort16 mask);
6934short16 const_func __attribute__((overloadable)) shuffle2(short16 x, short16 y, ushort16 mask);
6935
6936ushort16 const_func __attribute__((overloadable)) shuffle2(ushort2 x, ushort2 y, ushort16 mask);
6937ushort16 const_func __attribute__((overloadable)) shuffle2(ushort4 x, ushort4 y, ushort16 mask);
6938ushort16 const_func __attribute__((overloadable)) shuffle2(ushort8 x, ushort8 y, ushort16 mask);
6939ushort16 const_func __attribute__((overloadable)) shuffle2(ushort16 x, ushort16 y, ushort16 mask);
6940
6941int16 const_func __attribute__((overloadable)) shuffle2(int2 x, int2 y, uint16 mask);
6942int16 const_func __attribute__((overloadable)) shuffle2(int4 x, int4 y, uint16 mask);
6943int16 const_func __attribute__((overloadable)) shuffle2(int8 x, int8 y, uint16 mask);
6944int16 const_func __attribute__((overloadable)) shuffle2(int16 x, int16 y, uint16 mask);
6945
6946uint16 const_func __attribute__((overloadable)) shuffle2(uint2 x, uint2 y, uint16 mask);
6947uint16 const_func __attribute__((overloadable)) shuffle2(uint4 x, uint4 y, uint16 mask);
6948uint16 const_func __attribute__((overloadable)) shuffle2(uint8 x, uint8 y, uint16 mask);
6949uint16 const_func __attribute__((overloadable)) shuffle2(uint16 x, uint16 y, uint16 mask);
6950
6951long16 const_func __attribute__((overloadable)) shuffle2(long2 x, long2 y, ulong16 mask);
6952long16 const_func __attribute__((overloadable)) shuffle2(long4 x, long4 y, ulong16 mask);
6953long16 const_func __attribute__((overloadable)) shuffle2(long8 x, long8 y, ulong16 mask);
6954long16 const_func __attribute__((overloadable)) shuffle2(long16 x, long16 y, ulong16 mask);
6955
6956ulong16 const_func __attribute__((overloadable)) shuffle2(ulong2 x, ulong2 y, ulong16 mask);
6957ulong16 const_func __attribute__((overloadable)) shuffle2(ulong4 x, ulong4 y, ulong16 mask);
6958ulong16 const_func __attribute__((overloadable)) shuffle2(ulong8 x, ulong8 y, ulong16 mask);
6959ulong16 const_func __attribute__((overloadable)) shuffle2(ulong16 x, ulong16 y, ulong16 mask);
6960
6961//half16 const_func __attribute__((overloadable)) shuffle2(half2 x, half2 y, ushort16 mask);
6962//half16 const_func __attribute__((overloadable)) shuffle2(half4 x, half4 y, ushort16 mask);
6963//half16 const_func __attribute__((overloadable)) shuffle2(half8 x, half8 y, ushort16 mask);
6964//half16 const_func __attribute__((overloadable)) shuffle2(half16 x, half16 y, ushort16 mask);
6965
6966float16 const_func __attribute__((overloadable)) shuffle2(float2 x, float2 y, uint16 mask);
6967float16 const_func __attribute__((overloadable)) shuffle2(float4 x, float4 y, uint16 mask);
6968float16 const_func __attribute__((overloadable)) shuffle2(float8 x, float8 y, uint16 mask);
6969float16 const_func __attribute__((overloadable)) shuffle2(float16 x, float16 y, uint16 mask);
6970
6971double16 const_func __attribute__((overloadable)) shuffle2(double2 x, double2 y, ulong16 mask);
6972double16 const_func __attribute__((overloadable)) shuffle2(double4 x, double4 y, ulong16 mask);
6973double16 const_func __attribute__((overloadable)) shuffle2(double8 x, double8 y, ulong16 mask);
6974double16 const_func __attribute__((overloadable)) shuffle2(double16 x, double16 y, ulong16 mask);
6975
6976// Built-in image functions
6977
6978/**
6979 * Use the coordinate (x, y) to do an element lookup in
6980 * the 2D image object specified by image.
6981 * read_imagef returns floating-point values in the
6982 * range [0.0 … 1.0] for image objects created with
6983 * image_channel_data_type set to one of the predefined
6984 * packed formats or CL_UNORM_INT8, or
6985 * CL_UNORM_INT16.
6986 * read_imagef returns floating-point values in the
6987 * range [-1.0 … 1.0] for image objects created with
6988 * image_channel_data_type set to CL_SNORM_INT8,
6989 * or CL_SNORM_INT16.
6990 * read_imagef returns floating-point values for image
6991 * objects created with image_channel_data_type set to
6992 * CL_HALF_FLOAT or CL_FLOAT.
6993 * The read_imagef calls that take integer coordinates
6994 * must use a sampler with filter mode set to
6995 * CLK_FILTER_NEAREST, normalized coordinates set
6996 * to CLK_NORMALIZED_COORDS_FALSE and
6997 * addressing mode set to
6998 * CLK_ADDRESS_CLAMP_TO_EDGE,
6999 * CLK_ADDRESS_CLAMP or CLK_ADDRESS_NONE;
7000 * otherwise the values returned are undefined.
7001 * Values returned by read_imagef for image objects
7002 * with image_channel_data_type values not specified
7003 * in the description above are undefined.
7004 */
7005
7006//
7007// Addressing Mode.
7008//
7009#define CLK_ADDRESS_NONE 0
7010#define CLK_ADDRESS_CLAMP_TO_EDGE 2
7011#define CLK_ADDRESS_CLAMP 4
7012#define CLK_ADDRESS_REPEAT 6
7013#define CLK_ADDRESS_MIRRORED_REPEAT 8
7014
7015//
7016// Coordination Normalization
7017//
7018#define CLK_NORMALIZED_COORDS_FALSE 0
7019#define CLK_NORMALIZED_COORDS_TRUE 1
7020
7021//
7022// Filtering Mode.
7023//
7024#define CLK_FILTER_NEAREST 0x10
7025#define CLK_FILTER_LINEAR 0x20
7026
7027float4 __attribute__((overloadable)) const_func read_imagef(__read_only image2d_t image, sampler_t sampler, int2 coord);
7028float4 __attribute__((overloadable)) const_func read_imagef(__read_only image2d_t image, sampler_t sampler, float2 coord);
7029//half4 __attribute__((overloadable)) const_func read_imageh(__read_only image2d_t image, sampler_t sampler, int2 coord);
7030//half4 __attribute__((overloadable)) const_func read_imageh(__read_only image2d_t image, sampler_t sampler, float2 coord);
7031
7032//float __attribute__((overloadable)) const_func read_imagef(__read_only image2d_depth_t image, sampler_t sampler, int2 coord);
7033//float __attribute__((overloadable)) const_func read_imagef(__read_only image2d_depth_t image, sampler_t sampler, float2 coord);
7034//float __attribute__((overloadable)) const_func read_imagef(__read_only image2d_depth_t image, int2 coord);
7035//float __attribute__((overloadable)) const_func read_imagef(__read_only image2d_array_depth_t image, sampler_t sampler, int4 coord);
7036//float __attribute__((overloadable)) const_func read_imagef(__read_only image2d_array_depth_t image, sampler_t sampler, float4 coord);
7037//float __attribute__((overloadable)) const_func read_imagef(__read_only image2d_array_depth_t image, int4 coord);
7038
7039//void __attribute__((overloadable)) write_imagef(__write_only image2d_depth_t image, int2 coord, float depth);
7040//void __attribute__((overloadable)) write_imagef (__write_only image2d_array_depth_t image, int4 coord, float depth);
7041
7042//int const_func __attribute__((overloadable)) get_image_width(image2d_depth_t image);
7043//int const_func __attribute__((overloadable)) get_image_width(image2d_array_depth_t image);
7044
7045//int const_func __attribute__((overloadable)) get_image_height(image2d_depth_t image);
7046//int const_func __attribute__((overloadable)) get_image_height(image2d_array_depth_t image);
7047
7048//int const_func __attribute__((overloadable)) get_image_channel_data_type(image2d_depth_t image);
7049//int const_func __attribute__((overloadable)) get_image_channel_data_type(image2d_array_depth_t image);
7050
7051//int const_func __attribute__((overloadable)) get_image_channel_order(image2d_depth_t image);
7052//int const_func __attribute__((overloadable)) get_image_channel_order(image2d_array_depth_t image);
7053
7054//int2 const_func __attribute__((overloadable)) get_image_dim(image2d_depth_t image);
7055//int2 const_func __attribute__((overloadable)) get_image_dim(image2d_array_depth_t image);
7056
7057//size_t const_func __attribute__((overloadable)) get_image_array_size(image2d_array_depth_t image_array);
7058
7059/**
7060 * Use the coordinate (x, y) to do an element lookup in
7061 * the 2D image object specified by image.
7062 * read_imagei and read_imageui return
7063 * unnormalized signed integer and unsigned integer
7064 * values respectively. Each channel will be stored in a
7065 * 32-bit integer.
7066 * read_imagei can only be used with image objects
7067 * created with image_channel_data_type set to one of
7068 * the following values:
7069 * CL_SIGNED_INT8,
7070 * CL_SIGNED_INT16 and
7071 * CL_SIGNED_INT32.
7072 * If the image_channel_data_type is not one of the
7073 * above values, the values returned by read_imagei
7074 * are undefined.
7075 * read_imageui can only be used with image objects
7076 * created with image_channel_data_type set to one of
7077 * the following values:
7078 * CL_UNSIGNED_INT8,
7079 * CL_UNSIGNED_INT16 and
7080 * CL_UNSIGNED_INT32.
7081 * If the image_channel_data_type is not one of the
7082 * above values, the values returned by read_imageui
7083 * are undefined.
7084 * The read_image{i|ui} calls support a nearest filter
7085 * only. The filter_mode specified in sampler
7086 * must be set to CLK_FILTER_NEAREST; otherwise
7087 * the values returned are undefined.
7088 * Furthermore, the read_image{i|ui} calls that take
7089 * integer coordinates must use a sampler with
7090 * normalized coordinates set to
7091 * CLK_NORMALIZED_COORDS_FALSE and
7092 * addressing mode set to
7093 * CLK_ADDRESS_CLAMP_TO_EDGE,
7094 * CLK_ADDRESS_CLAMP or CLK_ADDRESS_NONE;
7095 * otherwise the values returned are undefined.
7096 */
7097int4 __attribute__((overloadable)) const_func read_imagei(__read_only image2d_t image, sampler_t sampler, int2 coord);
7098int4 __attribute__((overloadable)) const_func read_imagei(__read_only image2d_t image, sampler_t sampler, float2 coord);
7099uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image2d_t image, sampler_t sampler, int2 coord);
7100uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image2d_t image, sampler_t sampler, float2 coord);
7101
7102/**
7103 * Write color value to location specified by coordinate
7104 * (x, y) in the 2D image object specified by image.
7105 * Appropriate data format conversion to the specified
7106 * image format is done before writing the color value.
7107 * x & y are considered to be unnormalized coordinates
7108 * and must be in the range 0 ... image width - 1, and 0
7109 * ... image height - 1.
7110 * write_imagef can only be used with image objects
7111 * created with image_channel_data_type set to one of
7112 * the pre-defined packed formats or set to
7113 * CL_SNORM_INT8, CL_UNORM_INT8,
7114 * CL_SNORM_INT16, CL_UNORM_INT16,
7115 * CL_HALF_FLOAT or CL_FLOAT. Appropriate data
7116 * format conversion will be done to convert channel
7117 * data from a floating-point value to actual data format
7118 * in which the channels are stored.
7119 * write_imagei can only be used with image objects
7120 * created with image_channel_data_type set to one of
7121 * the following values:
7122 * CL_SIGNED_INT8,
7123 * CL_SIGNED_INT16 and
7124 * CL_SIGNED_INT32.
7125 * write_imageui can only be used with image objects
7126 * created with image_channel_data_type set to one of
7127 * the following values:
7128 * CL_UNSIGNED_INT8,
7129 * CL_UNSIGNED_INT16 and
7130 * CL_UNSIGNED_INT32.
7131 * The behavior of write_imagef, write_imagei and
7132 * write_imageui for image objects created with
7133 * image_channel_data_type values not specified in
7134 * the description above or with (x, y) coordinate
7135 * values that are not in the range (0 ... image width -
7136 * 1, 0 ... image height - 1), respectively, is undefined.
7137 */
7138void __attribute__((overloadable)) write_imagef(__write_only image2d_t image, int2 coord, float4 color);
7139void __attribute__((overloadable)) write_imagei(__write_only image2d_t image, int2 coord, int4 color);
7140void __attribute__((overloadable)) write_imageui(__write_only image2d_t image, int2 coord, uint4 color);
7141void __attribute__((overloadable)) write_imageh(__write_only image2d_t image, int2 coord, half4 color);
7142
7143/**
7144 * Use the coordinate (coord.x, coord.y, coord.z) to do
7145 * an element lookup in the 3D image object specified
7146 * by image. coord.w is ignored.
7147 * read_imagef returns floating-point values in the
7148 * range [0.0 ... 1.0] for image objects created with
7149 * image_channel_data_type set to one of the predefined
7150 * packed formats or CL_UNORM_INT8, or
7151 * CL_UNORM_INT16.
7152 * read_imagef returns floating-point values in the
7153 * range [-1.0 ... 1.0] for image objects created with
7154 * image_channel_data_type set to CL_SNORM_INT8,
7155 * or CL_SNORM_INT16.
7156 * read_imagef returns floating-point values for image
7157 * objects created with image_channel_data_type set to
7158 * CL_HALF_FLOAT or CL_FLOAT.
7159 * The read_imagef calls that take integer coordinates
7160 * must use a sampler with filter mode set to
7161 * CLK_FILTER_NEAREST, normalized coordinates set
7162 * to CLK_NORMALIZED_COORDS_FALSE and
7163 * addressing mode set to
7164 * CLK_ADDRESS_CLAMP_TO_EDGE,
7165 * CLK_ADDRESS_CLAMP or CLK_ADDRESS_NONE;
7166 * otherwise the values returned are undefined.
7167 * Values returned by read_imagef for image objects
7168 * with image_channel_data_type values not specified
7169 * in the description are undefined.
7170 */
7171float4 __attribute__((overloadable)) const_func read_imagef(__read_only image3d_t image, sampler_t sampler, int4 coord);
7172float4 __attribute__((overloadable)) const_func read_imagef(__read_only image3d_t image, sampler_t sampler, float4 coord);
7173
7174/**
7175 * Use the coordinate (coord.x, coord.y, coord.z) to do
7176 * an element lookup in the 3D image object specified
7177 * by image. coord.w is ignored.
7178 * read_imagei and read_imageui return
7179 * unnormalized signed integer and unsigned integer
7180 * values respectively. Each channel will be stored in a
7181 * 32-bit integer.
7182 * read_imagei can only be used with image objects
7183 * created with image_channel_data_type set to one of
7184 * the following values:
7185 * CL_SIGNED_INT8,
7186 * CL_SIGNED_INT16 and
7187 * CL_SIGNED_INT32.
7188 * If the image_channel_data_type is not one of the
7189 * above values, the values returned by read_imagei
7190 * are undefined.
7191 * read_imageui can only be used with image objects
7192 * created with image_channel_data_type set to one of
7193 * the following values:
7194 * CL_UNSIGNED_INT8,
7195 * CL_UNSIGNED_INT16 and
7196 * CL_UNSIGNED_INT32.
7197 * If the image_channel_data_type is not one of the
7198 * above values, the values returned by read_imageui
7199 * are undefined.
7200 * The read_image{i|ui} calls support a nearest filter
7201 * only. The filter_mode specified in sampler
7202 * must be set to CLK_FILTER_NEAREST; otherwise
7203 * the values returned are undefined.
7204 * Furthermore, the read_image{i|ui} calls that take
7205 * integer coordinates must use a sampler with
7206 * normalized coordinates set to
7207 * CLK_NORMALIZED_COORDS_FALSE and
7208 * addressing mode set to
7209 * CLK_ADDRESS_CLAMP_TO_EDGE,
7210 * CLK_ADDRESS_CLAMP or CLK_ADDRESS_NONE;
7211 * otherwise the values returned are undefined.
7212 */
7213int4 __attribute__((overloadable)) const_func read_imagei(__read_only image3d_t image, sampler_t sampler, int4 coord);
7214int4 __attribute__((overloadable)) const_func read_imagei(__read_only image3d_t image, sampler_t sampler, float4 coord);
7215uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image3d_t image, sampler_t sampler, int4 coord);
7216uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image3d_t image, sampler_t sampler, float4 coord);
7217
7218// IMAGE 1.2 built-ins
7219// with samplers and samplerless
7220float4 __attribute__((overloadable)) const_func read_imagef(__read_only image2d_array_t image, sampler_t sampler, int4 coord);
7221float4 __attribute__((overloadable)) const_func read_imagef(__read_only image2d_array_t image, sampler_t sampler, float4 coord);
7222int4 __attribute__((overloadable)) const_func read_imagei(__read_only image2d_array_t image, sampler_t sampler, int4 coord);
7223int4 __attribute__((overloadable)) const_func read_imagei(__read_only image2d_array_t image, sampler_t sampler, float4 coord);
7224uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image2d_array_t image, sampler_t sampler, int4 coord);
7225uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image2d_array_t image, sampler_t sampler, float4 coord);
7226float4 __attribute__((overloadable)) const_func read_imagef(__read_only image1d_t image, sampler_t sampler, int coord);
7227float4 __attribute__((overloadable)) const_func read_imagef(__read_only image1d_t image, sampler_t sampler, float coord);
7228int4 __attribute__((overloadable)) const_func read_imagei(__read_only image1d_t image, sampler_t sampler, int coord);
7229int4 __attribute__((overloadable)) const_func read_imagei(__read_only image1d_t image, sampler_t sampler, float coord);
7230uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image1d_t image, sampler_t sampler, int coord);
7231uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image1d_t image, sampler_t sampler, float coord);
7232float4 __attribute__((overloadable)) const_func read_imagef(__read_only image1d_array_t image, sampler_t sampler, int2 coord);
7233float4 __attribute__((overloadable)) const_func read_imagef(__read_only image1d_array_t image, sampler_t sampler, float2 coord);
7234int4 __attribute__((overloadable)) const_func read_imagei(__read_only image1d_array_t image, sampler_t sampler, int2 coord);
7235int4 __attribute__((overloadable)) const_func read_imagei(__read_only image1d_array_t image, sampler_t sampler, float2 coord);
7236uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image1d_array_t image, sampler_t sampler, int2 coord);
7237uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image1d_array_t image, sampler_t sampler, float2 coord);
7238float4 __attribute__((overloadable)) const_func read_imagef (__read_only image2d_t image, int2 coord);
7239int4 __attribute__((overloadable)) const_func read_imagei (__read_only image2d_t image, int2 coord);
7240uint4 __attribute__((overloadable)) const_func read_imageui (__read_only image2d_t image, int2 coord);
7241float4 __attribute__((overloadable)) const_func read_imagef (__read_only image3d_t image, int4 coord);
7242int4 __attribute__((overloadable)) const_func read_imagei (__read_only image3d_t image, int4 coord);
7243uint4 __attribute__((overloadable)) const_func read_imageui (__read_only image3d_t image, int4 coord);
7244float4 __attribute__((overloadable)) const_func read_imagef (__read_only image2d_array_t image, int4 coord);
7245int4 __attribute__((overloadable)) const_func read_imagei (__read_only image2d_array_t image, int4 coord);
7246uint4 __attribute__((overloadable)) const_func read_imageui (__read_only image2d_array_t image, int4 coord);
7247float4 __attribute__((overloadable)) const_func read_imagef (__read_only image1d_t image, int coord);
7248float4 __attribute__((overloadable)) const_func read_imagef (__read_only image1d_buffer_t image, int coord);
7249int4 __attribute__((overloadable)) const_func read_imagei(__read_only image1d_t image, int coord);
7250uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image1d_t image, int coord);
7251int4 __attribute__((overloadable)) const_func read_imagei(__read_only image1d_buffer_t image, int coord);
7252uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image1d_buffer_t image, int coord);
7253float4 __attribute__((overloadable)) const_func read_imagef(__read_only image1d_array_t image, int2 coord);
7254int4 __attribute__((overloadable)) const_func read_imagei(__read_only image1d_array_t image, int2 coord);
7255uint4 __attribute__((overloadable)) const_func read_imageui(__read_only image1d_array_t image, int2 coord);
7256void __attribute__((overloadable)) write_imagef (__write_only image2d_array_t image, int4 coord, float4 color);
7257void __attribute__((overloadable)) write_imagei (__write_only image2d_array_t image, int4 coord, int4 color);
7258void __attribute__((overloadable)) write_imageui (__write_only image2d_array_t image, int4 coord, uint4 color);
7259void __attribute__((overloadable)) write_imagef (__write_only image1d_t image, int coord, float4 color);
7260void __attribute__((overloadable)) write_imagei (__write_only image1d_t image, int coord, int4 color);
7261void __attribute__((overloadable)) write_imageui (__write_only image1d_t image, int coord, uint4 color);
7262void __attribute__((overloadable)) write_imagef (__write_only image1d_buffer_t image, int coord, float4 color);
7263void __attribute__((overloadable)) write_imagei (__write_only image1d_buffer_t image, int coord, int4 color);
7264void __attribute__((overloadable)) write_imageui (__write_only image1d_buffer_t image, int coord, uint4 color);
7265void __attribute__((overloadable)) write_imagef (__write_only image1d_array_t image, int2 coord, float4 color);
7266void __attribute__((overloadable)) write_imagei (__write_only image1d_array_t image, int2 coord, int4 color);
7267void __attribute__((overloadable)) write_imageui (__write_only image1d_array_t image, int2 coord, uint4 color);
7268
7269/**
7270 * Write color value to location specified by coordinate
7271 * (x, y, z) in the 3D image object specified by image.
7272 * Appropriate data format conversion to the specified
7273 * image format is done before writing the color value.
7274 * x & y are considered to be unnormalized coordinates
7275 * and must be in the range 0 ... image width - 1, and 0
7276 * ... image height - 1.
7277 * write_imagef can only be used with image objects
7278 * created with image_channel_data_type set to one of
7279 * the pre-defined packed formats or set to
7280 * CL_SNORM_INT8, CL_UNORM_INT8,
7281 * CL_SNORM_INT16, CL_UNORM_INT16,
7282 * CL_HALF_FLOAT or CL_FLOAT. Appropriate data
7283 * format conversion will be done to convert channel
7284 * data from a floating-point value to actual data format
7285 * in which the channels are stored.
7286 * write_imagei can only be used with image objects
7287 * created with image_channel_data_type set to one of
7288 * the following values:
7289 * CL_SIGNED_INT8,
7290 * CL_SIGNED_INT16 and
7291 * CL_SIGNED_INT32.
7292 * write_imageui can only be used with image objects
7293 * created with image_channel_data_type set to one of
7294 * the following values:
7295 * CL_UNSIGNED_INT8,
7296 * CL_UNSIGNED_INT16 and
7297 * CL_UNSIGNED_INT32.
7298 * The behavior of write_imagef, write_imagei and
7299 * write_imageui for image objects created with
7300 * image_channel_data_type values not specified in
7301 * the description above or with (x, y) coordinate
7302 * values that are not in the range (0 ... image width -
7303 * 1, 0 ... image height - 1), respectively, is undefined.
7304 */
7305void __attribute__((overloadable)) write_imagef(__write_only image3d_t image, int4 coord, float4 color);
7306void __attribute__((overloadable)) write_imagei(__write_only image3d_t image, int4 coord, int4 color);
7307void __attribute__((overloadable)) write_imageui(__write_only image3d_t image, int4 coord, uint4 color);
7308void __attribute__((overloadable)) write_imageh(__write_only image3d_t image, int4 coord, half4 color);
7309
7310/**
7311 * Return the image width in pixels.
7312 */
7313int const_func __attribute__((overloadable)) get_image_width(image1d_t image);
7314int const_func __attribute__((overloadable)) get_image_width(image1d_buffer_t image);
7315int const_func __attribute__((overloadable)) get_image_width(image2d_t image);
7316int const_func __attribute__((overloadable)) get_image_width(image3d_t image);
7317int const_func __attribute__((overloadable)) get_image_width(image1d_array_t image);
7318int const_func __attribute__((overloadable)) get_image_width(image2d_array_t image);
7319
7320/**
7321 * Return the image height in pixels.
7322 */
7323int const_func __attribute__((overloadable)) get_image_height(image2d_t image);
7324int const_func __attribute__((overloadable)) get_image_height(image3d_t image);
7325int const_func __attribute__((overloadable)) get_image_height(image2d_array_t image);
7326
7327/**
7328 * Return the image depth in pixels.
7329 */
7330int const_func __attribute__((overloadable)) get_image_depth(image3d_t image);
7331
7332/**
7333 * Return the channel data type. Valid values are:
7334 * CLK_SNORM_INT8
7335 * CLK_SNORM_INT16
7336 * CLK_UNORM_INT8
7337 * CLK_UNORM_INT16
7338 * CLK_UNORM_SHORT_565
7339 * CLK_UNORM_SHORT_555
7340 * CLK_UNORM_SHORT_101010
7341 * CLK_SIGNED_INT8
7342 * CLK_SIGNED_INT16
7343 * CLK_SIGNED_INT32
7344 * CLK_UNSIGNED_INT8
7345 * CLK_UNSIGNED_INT16
7346 * CLK_UNSIGNED_INT32
7347 * CLK_HALF_FLOAT
7348 * CLK_FLOAT
7349 */
7350
7351// Channel order, numbering must be aligned with cl_channel_order in cl.h
7352//
7353// Channel order.
7354//
7355#define CLK_R 0x10B0
7356#define CLK_A 0x10B1
7357#define CLK_RG 0x10B2
7358#define CLK_RA 0x10B3
7359#define CLK_RGB 0x10B4
7360#define CLK_RGBA 0x10B5
7361#define CLK_BGRA 0x10B6
7362#define CLK_ARGB 0x10B7
7363#define CLK_INTENSITY 0x10B8
7364#define CLK_LUMINANCE 0x10B9
7365#define CLK_Rx 0x10BA
7366#define CLK_RGx 0x10BB
7367#define CLK_RGBx 0x10BC
7368#define CLK_DEPTH 0x10BD
7369#define CLK_DEPTH_STENCIL 0x10BE
7370
7371//
7372// Channel Datatype.
7373//
7374#define CLK_SNORM_INT8 0x10D0
7375#define CLK_SNORM_INT16 0x10D1
7376#define CLK_UNORM_INT8 0x10D2
7377#define CLK_UNORM_INT16 0x10D3
7378#define CLK_UNORM_SHORT_565 0x10D4
7379#define CLK_UNORM_SHORT_555 0x10D5
7380#define CLK_UNORM_INT_101010 0x10D6
7381#define CLK_SIGNED_INT8 0x10D7
7382#define CLK_SIGNED_INT16 0x10D8
7383#define CLK_SIGNED_INT32 0x10D9
7384#define CLK_UNSIGNED_INT8 0x10DA
7385#define CLK_UNSIGNED_INT16 0x10DB
7386#define CLK_UNSIGNED_INT32 0x10DC
7387#define CLK_HALF_FLOAT 0x10DD
7388#define CLK_FLOAT 0x10DE
7389#define CLK_UNORM_INT24 0x10DF
7390
7391int const_func __attribute__((overloadable)) get_image_channel_data_type(image1d_t image);
7392int const_func __attribute__((overloadable)) get_image_channel_data_type(image1d_buffer_t image);
7393int const_func __attribute__((overloadable)) get_image_channel_data_type(image2d_t image);
7394int const_func __attribute__((overloadable)) get_image_channel_data_type(image3d_t image);
7395int const_func __attribute__((overloadable)) get_image_channel_data_type(image1d_array_t image);
7396int const_func __attribute__((overloadable)) get_image_channel_data_type(image2d_array_t image);
7397
7398/**
7399 * Return the image channel order. Valid values are:
7400 * CLK_A
7401 * CLK_R
7402 * CLK_Rx
7403 * CLK_RG
7404 * CLK_RGx
7405 * CLK_RA
7406 * CLK_RGB
7407 * CLK_RGBx
7408 * CLK_RGBA
7409 * CLK_ARGB
7410 * CLK_BGRA
7411 * CLK_INTENSITY
7412 * CLK_LUMINANCE
7413 */
7414int const_func __attribute__((overloadable)) get_image_channel_order(image1d_t image);
7415int const_func __attribute__((overloadable)) get_image_channel_order(image1d_buffer_t image);
7416int const_func __attribute__((overloadable)) get_image_channel_order(image2d_t image);
7417int const_func __attribute__((overloadable)) get_image_channel_order(image3d_t image);
7418int const_func __attribute__((overloadable)) get_image_channel_order(image1d_array_t image);
7419int const_func __attribute__((overloadable)) get_image_channel_order(image2d_array_t image);
7420
7421/**
7422 * Return the 2D image width and height as an int2
7423 * type. The width is returned in the x component, and
7424 * the height in the y component.
7425 */
7426int2 const_func __attribute__((overloadable)) get_image_dim(image2d_t image);
7427int2 const_func __attribute__((overloadable)) get_image_dim(image2d_array_t image);
7428
7429/**
7430 * Return the 3D image width, height, and depth as an
7431 * int4 type. The width is returned in the x
7432 * component, height in the y component, depth in the z
7433 * component and the w component is 0.
7434 */
7435int4 const_func __attribute__((overloadable)) get_image_dim(image3d_t image);
7436
7437/**
7438 * Return the number of images in the 2D image array.
7439 */
7440size_t const_func __attribute__((overloadable)) get_image_array_size(image2d_array_t image_array);
7441
7442/**
7443 * Return the number of images in the 1D image array.
7444 */
7445size_t const_func __attribute__((overloadable)) get_image_array_size(image1d_array_t image_array);
7446
7447/**
7448 * Use coord.xy to do an element lookup in the 2D image layer identified by index coord.z in the 2D image array.
7449 */
7450float4 const_func __attribute__((overloadable)) read_imagef(__read_only image2d_array_t image_array, sampler_t sampler, int4 coord);
7451
7452/**
7453 * Use coord.xy to do an element lookup in the 2D image layer identified by index coord.z in the 2D image array.
7454 */
7455float4 const_func __attribute__((overloadable)) read_imagef(__read_only image2d_array_t image_array, sampler_t sampler, float4 coord);
7456
7457/**
7458 * Use coord.xy to do an element lookup in the 2D image layer identified by index coord.z in the 2D image array.
7459 */
7460int4 const_func __attribute__((overloadable)) read_imagei(__read_only image2d_array_t image_array, sampler_t sampler, int4 coord);
7461
7462/**
7463 * Use coord.xy to do an element lookup in the 2D image layer identified by index coord.z in the 2D image array.
7464 */
7465int4 const_func __attribute__((overloadable)) read_imagei(__read_only image2d_array_t image_array, sampler_t sampler, float4 coord);
7466
7467/**
7468 * Use coord.xy to do an element lookup in the 2D image layer identified by index coord.z in the 2D image array.
7469 */
7470uint4 const_func __attribute__((overloadable)) read_imageui(__read_only image2d_array_t image_array, sampler_t sampler, int4 coord);
7471
7472/**
7473 * Use coord.xy to do an element lookup in the 2D image layer identified by index coord.z in the 2D image array.
7474 */
7475uint4 const_func __attribute__((overloadable)) read_imageui(__read_only image2d_array_t image_array, sampler_t sampler, float4 coord);
7476
7477/**
7478 * Write color value to location specified by coord.xy in the 2D image layer identified by index coord.z in the 2D image array.
7479 */
7480void __attribute__((overloadable)) write_imagef(__write_only image2d_array_t image_array, int4 coord, float4 color);
7481
7482/**
7483 * Write color value to location specified by coord.xy in the 2D image layer identified by index coord.z in the 2D image array.
7484 */
7485void __attribute__((overloadable)) write_imagei(__write_only image2d_array_t image_array, int4 coord, int4 color);
7486
7487/**
7488 * Write color value to location specified by coord.xy in the 2D image layer identified by index coord.z in the 2D image array.
7489 */
7490void __attribute__((overloadable)) write_imageui(__write_only image2d_array_t image_array, int4 coord, uint4 color);
7491
7492/**
7493 * OpenCL as_typen operators
7494 * Reinterprets a data type as another data type of the same size
7495 */
7496
7497#define as_char(x) __builtin_astype((x), char)
7498#define as_char2(x) __builtin_astype((x), char2)
7499#define as_char3(x) __builtin_astype((x), char3)
7500#define as_char4(x) __builtin_astype((x), char4)
7501#define as_char8(x) __builtin_astype((x), char8)
7502#define as_char16(x) __builtin_astype((x), char16)
7503
7504#define as_uchar(x) __builtin_astype((x), uchar)
7505#define as_uchar2(x) __builtin_astype((x), uchar2)
7506#define as_uchar3(x) __builtin_astype((x), uchar3)
7507#define as_uchar4(x) __builtin_astype((x), uchar4)
7508#define as_uchar8(x) __builtin_astype((x), uchar8)
7509#define as_uchar16(x) __builtin_astype((x), uchar16)
7510
7511#define as_short(x) __builtin_astype((x), short)
7512#define as_short2(x) __builtin_astype((x), short2)
7513#define as_short3(x) __builtin_astype((x), short3)
7514#define as_short4(x) __builtin_astype((x), short4)
7515#define as_short8(x) __builtin_astype((x), short8)
7516#define as_short16(x) __builtin_astype((x), short16)
7517
7518#define as_ushort(x) __builtin_astype((x), ushort)
7519#define as_ushort2(x) __builtin_astype((x), ushort2)
7520#define as_ushort3(x) __builtin_astype((x), ushort3)
7521#define as_ushort4(x) __builtin_astype((x), ushort4)
7522#define as_ushort8(x) __builtin_astype((x), ushort8)
7523#define as_ushort16(x) __builtin_astype((x), ushort16)
7524
7525#define as_int(x) __builtin_astype((x), int)
7526#define as_int2(x) __builtin_astype((x), int2)
7527#define as_int3(x) __builtin_astype((x), int3)
7528#define as_int4(x) __builtin_astype((x), int4)
7529#define as_int8(x) __builtin_astype((x), int8)
7530#define as_int16(x) __builtin_astype((x), int16)
7531
7532#define as_uint(x) __builtin_astype((x), uint)
7533#define as_uint2(x) __builtin_astype((x), uint2)
7534#define as_uint3(x) __builtin_astype((x), uint3)
7535#define as_uint4(x) __builtin_astype((x), uint4)
7536#define as_uint8(x) __builtin_astype((x), uint8)
7537#define as_uint16(x) __builtin_astype((x), uint16)
7538
7539#define as_long(x) __builtin_astype((x), long)
7540#define as_long2(x) __builtin_astype((x), long2)
7541#define as_long3(x) __builtin_astype((x), long3)
7542#define as_long4(x) __builtin_astype((x), long4)
7543#define as_long8(x) __builtin_astype((x), long8)
7544#define as_long16(x) __builtin_astype((x), long16)
7545
7546#define as_ulong(x) __builtin_astype((x), ulong)
7547#define as_ulong2(x) __builtin_astype((x), ulong2)
7548#define as_ulong3(x) __builtin_astype((x), ulong3)
7549#define as_ulong4(x) __builtin_astype((x), ulong4)
7550#define as_ulong8(x) __builtin_astype((x), ulong8)
7551#define as_ulong16(x) __builtin_astype((x), ulong16)
7552
7553#define as_half(x) __builtin_astype((x), half)
7554#define as_half2(x) __builtin_astype((x), half2)
7555#define as_half3(x) __builtin_astype((x), half3)
7556#define as_half4(x) __builtin_astype((x), half4)
7557#define as_half8(x) __builtin_astype((x), half8)
7558#define as_half16(x) __builtin_astype((x), half16)
7559
7560#define as_float(x) __builtin_astype((x), float)
7561#define as_float2(x) __builtin_astype((x), float2)
7562#define as_float3(x) __builtin_astype((x), float3)
7563#define as_float4(x) __builtin_astype((x), float4)
7564#define as_float8(x) __builtin_astype((x), float8)
7565#define as_float16(x) __builtin_astype((x), float16)
7566
7567#define as_double(x) __builtin_astype((x), double)
7568#define as_double2(x) __builtin_astype((x), double2)
7569#define as_double3(x) __builtin_astype((x), double3)
7570#define as_double4(x) __builtin_astype((x), double4)
7571#define as_double8(x) __builtin_astype((x), double8)
7572#define as_double16(x) __builtin_astype((x), double16)
7573
7574// Explicit conversions
7575
7576char const_func __attribute__((overloadable)) convert_char_rte(char);
7577char const_func __attribute__((overloadable)) convert_char_sat_rte(char);
7578char const_func __attribute__((overloadable)) convert_char_rtz(char);
7579char const_func __attribute__((overloadable)) convert_char_sat_rtz(char);
7580char const_func __attribute__((overloadable)) convert_char_rtp(char);
7581char const_func __attribute__((overloadable)) convert_char_sat_rtp(char);
7582char const_func __attribute__((overloadable)) convert_char_rtn(char);
7583char const_func __attribute__((overloadable)) convert_char_sat_rtn(char);
7584char const_func __attribute__((overloadable)) convert_char(char);
7585char const_func __attribute__((overloadable)) convert_char_sat(char);
7586char const_func __attribute__((overloadable)) convert_char_rte(uchar);
7587char const_func __attribute__((overloadable)) convert_char_sat_rte(uchar);
7588char const_func __attribute__((overloadable)) convert_char_rtz(uchar);
7589char const_func __attribute__((overloadable)) convert_char_sat_rtz(uchar);
7590char const_func __attribute__((overloadable)) convert_char_rtp(uchar);
7591char const_func __attribute__((overloadable)) convert_char_sat_rtp(uchar);
7592char const_func __attribute__((overloadable)) convert_char_rtn(uchar);
7593char const_func __attribute__((overloadable)) convert_char_sat_rtn(uchar);
7594char const_func __attribute__((overloadable)) convert_char(uchar);
7595char const_func __attribute__((overloadable)) convert_char_sat(uchar);
7596char const_func __attribute__((overloadable)) convert_char_rte(short);
7597char const_func __attribute__((overloadable)) convert_char_sat_rte(short);
7598char const_func __attribute__((overloadable)) convert_char_rtz(short);
7599char const_func __attribute__((overloadable)) convert_char_sat_rtz(short);
7600char const_func __attribute__((overloadable)) convert_char_rtp(short);
7601char const_func __attribute__((overloadable)) convert_char_sat_rtp(short);
7602char const_func __attribute__((overloadable)) convert_char_rtn(short);
7603char const_func __attribute__((overloadable)) convert_char_sat_rtn(short);
7604char const_func __attribute__((overloadable)) convert_char(short);
7605char const_func __attribute__((overloadable)) convert_char_sat(short);
7606char const_func __attribute__((overloadable)) convert_char_rte(ushort);
7607char const_func __attribute__((overloadable)) convert_char_sat_rte(ushort);
7608char const_func __attribute__((overloadable)) convert_char_rtz(ushort);
7609char const_func __attribute__((overloadable)) convert_char_sat_rtz(ushort);
7610char const_func __attribute__((overloadable)) convert_char_rtp(ushort);
7611char const_func __attribute__((overloadable)) convert_char_sat_rtp(ushort);
7612char const_func __attribute__((overloadable)) convert_char_rtn(ushort);
7613char const_func __attribute__((overloadable)) convert_char_sat_rtn(ushort);
7614char const_func __attribute__((overloadable)) convert_char(ushort);
7615char const_func __attribute__((overloadable)) convert_char_sat(ushort);
7616char const_func __attribute__((overloadable)) convert_char_rte(int);
7617char const_func __attribute__((overloadable)) convert_char_sat_rte(int);
7618char const_func __attribute__((overloadable)) convert_char_rtz(int);
7619char const_func __attribute__((overloadable)) convert_char_sat_rtz(int);
7620char const_func __attribute__((overloadable)) convert_char_rtp(int);
7621char const_func __attribute__((overloadable)) convert_char_sat_rtp(int);
7622char const_func __attribute__((overloadable)) convert_char_rtn(int);
7623char const_func __attribute__((overloadable)) convert_char_sat_rtn(int);
7624char const_func __attribute__((overloadable)) convert_char(int);
7625char const_func __attribute__((overloadable)) convert_char_sat(int);
7626char const_func __attribute__((overloadable)) convert_char_rte(uint);
7627char const_func __attribute__((overloadable)) convert_char_sat_rte(uint);
7628char const_func __attribute__((overloadable)) convert_char_rtz(uint);
7629char const_func __attribute__((overloadable)) convert_char_sat_rtz(uint);
7630char const_func __attribute__((overloadable)) convert_char_rtp(uint);
7631char const_func __attribute__((overloadable)) convert_char_sat_rtp(uint);
7632char const_func __attribute__((overloadable)) convert_char_rtn(uint);
7633char const_func __attribute__((overloadable)) convert_char_sat_rtn(uint);
7634char const_func __attribute__((overloadable)) convert_char(uint);
7635char const_func __attribute__((overloadable)) convert_char_sat(uint);
7636char const_func __attribute__((overloadable)) convert_char_rte(long);
7637char const_func __attribute__((overloadable)) convert_char_sat_rte(long);
7638char const_func __attribute__((overloadable)) convert_char_rtz(long);
7639char const_func __attribute__((overloadable)) convert_char_sat_rtz(long);
7640char const_func __attribute__((overloadable)) convert_char_rtp(long);
7641char const_func __attribute__((overloadable)) convert_char_sat_rtp(long);
7642char const_func __attribute__((overloadable)) convert_char_rtn(long);
7643char const_func __attribute__((overloadable)) convert_char_sat_rtn(long);
7644char const_func __attribute__((overloadable)) convert_char(long);
7645char const_func __attribute__((overloadable)) convert_char_sat(long);
7646char const_func __attribute__((overloadable)) convert_char_rte(ulong);
7647char const_func __attribute__((overloadable)) convert_char_sat_rte(ulong);
7648char const_func __attribute__((overloadable)) convert_char_rtz(ulong);
7649char const_func __attribute__((overloadable)) convert_char_sat_rtz(ulong);
7650char const_func __attribute__((overloadable)) convert_char_rtp(ulong);
7651char const_func __attribute__((overloadable)) convert_char_sat_rtp(ulong);
7652char const_func __attribute__((overloadable)) convert_char_rtn(ulong);
7653char const_func __attribute__((overloadable)) convert_char_sat_rtn(ulong);
7654char const_func __attribute__((overloadable)) convert_char(ulong);
7655char const_func __attribute__((overloadable)) convert_char_sat(ulong);
7656char const_func __attribute__((overloadable)) convert_char_rte(float);
7657char const_func __attribute__((overloadable)) convert_char_sat_rte(float);
7658char const_func __attribute__((overloadable)) convert_char_rtz(float);
7659char const_func __attribute__((overloadable)) convert_char_sat_rtz(float);
7660char const_func __attribute__((overloadable)) convert_char_rtp(float);
7661char const_func __attribute__((overloadable)) convert_char_sat_rtp(float);
7662char const_func __attribute__((overloadable)) convert_char_rtn(float);
7663char const_func __attribute__((overloadable)) convert_char_sat_rtn(float);
7664char const_func __attribute__((overloadable)) convert_char(float);
7665char const_func __attribute__((overloadable)) convert_char_sat(float);
7666char const_func __attribute__((overloadable)) convert_char_rte(double);
7667char const_func __attribute__((overloadable)) convert_char_sat_rte(double);
7668char const_func __attribute__((overloadable)) convert_char_rtz(double);
7669char const_func __attribute__((overloadable)) convert_char_sat_rtz(double);
7670char const_func __attribute__((overloadable)) convert_char_rtp(double);
7671char const_func __attribute__((overloadable)) convert_char_sat_rtp(double);
7672char const_func __attribute__((overloadable)) convert_char_rtn(double);
7673char const_func __attribute__((overloadable)) convert_char_sat_rtn(double);
7674char const_func __attribute__((overloadable)) convert_char(double);
7675char const_func __attribute__((overloadable)) convert_char_sat(double);
7676uchar const_func __attribute__((overloadable)) convert_uchar_rte(char);
7677uchar const_func __attribute__((overloadable)) convert_uchar_sat_rte(char);
7678uchar const_func __attribute__((overloadable)) convert_uchar_rtz(char);
7679uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtz(char);
7680uchar const_func __attribute__((overloadable)) convert_uchar_rtp(char);
7681uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtp(char);
7682uchar const_func __attribute__((overloadable)) convert_uchar_rtn(char);
7683uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtn(char);
7684uchar const_func __attribute__((overloadable)) convert_uchar(char);
7685uchar const_func __attribute__((overloadable)) convert_uchar_sat(char);
7686uchar const_func __attribute__((overloadable)) convert_uchar_rte(uchar);
7687uchar const_func __attribute__((overloadable)) convert_uchar_sat_rte(uchar);
7688uchar const_func __attribute__((overloadable)) convert_uchar_rtz(uchar);
7689uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtz(uchar);
7690uchar const_func __attribute__((overloadable)) convert_uchar_rtp(uchar);
7691uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtp(uchar);
7692uchar const_func __attribute__((overloadable)) convert_uchar_rtn(uchar);
7693uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtn(uchar);
7694uchar const_func __attribute__((overloadable)) convert_uchar(uchar);
7695uchar const_func __attribute__((overloadable)) convert_uchar_sat(uchar);
7696uchar const_func __attribute__((overloadable)) convert_uchar_rte(short);
7697uchar const_func __attribute__((overloadable)) convert_uchar_sat_rte(short);
7698uchar const_func __attribute__((overloadable)) convert_uchar_rtz(short);
7699uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtz(short);
7700uchar const_func __attribute__((overloadable)) convert_uchar_rtp(short);
7701uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtp(short);
7702uchar const_func __attribute__((overloadable)) convert_uchar_rtn(short);
7703uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtn(short);
7704uchar const_func __attribute__((overloadable)) convert_uchar(short);
7705uchar const_func __attribute__((overloadable)) convert_uchar_sat(short);
7706uchar const_func __attribute__((overloadable)) convert_uchar_rte(ushort);
7707uchar const_func __attribute__((overloadable)) convert_uchar_sat_rte(ushort);
7708uchar const_func __attribute__((overloadable)) convert_uchar_rtz(ushort);
7709uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtz(ushort);
7710uchar const_func __attribute__((overloadable)) convert_uchar_rtp(ushort);
7711uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtp(ushort);
7712uchar const_func __attribute__((overloadable)) convert_uchar_rtn(ushort);
7713uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtn(ushort);
7714uchar const_func __attribute__((overloadable)) convert_uchar(ushort);
7715uchar const_func __attribute__((overloadable)) convert_uchar_sat(ushort);
7716uchar const_func __attribute__((overloadable)) convert_uchar_rte(int);
7717uchar const_func __attribute__((overloadable)) convert_uchar_sat_rte(int);
7718uchar const_func __attribute__((overloadable)) convert_uchar_rtz(int);
7719uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtz(int);
7720uchar const_func __attribute__((overloadable)) convert_uchar_rtp(int);
7721uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtp(int);
7722uchar const_func __attribute__((overloadable)) convert_uchar_rtn(int);
7723uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtn(int);
7724uchar const_func __attribute__((overloadable)) convert_uchar(int);
7725uchar const_func __attribute__((overloadable)) convert_uchar_sat(int);
7726uchar const_func __attribute__((overloadable)) convert_uchar_rte(uint);
7727uchar const_func __attribute__((overloadable)) convert_uchar_sat_rte(uint);
7728uchar const_func __attribute__((overloadable)) convert_uchar_rtz(uint);
7729uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtz(uint);
7730uchar const_func __attribute__((overloadable)) convert_uchar_rtp(uint);
7731uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtp(uint);
7732uchar const_func __attribute__((overloadable)) convert_uchar_rtn(uint);
7733uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtn(uint);
7734uchar const_func __attribute__((overloadable)) convert_uchar(uint);
7735uchar const_func __attribute__((overloadable)) convert_uchar_sat(uint);
7736uchar const_func __attribute__((overloadable)) convert_uchar_rte(long);
7737uchar const_func __attribute__((overloadable)) convert_uchar_sat_rte(long);
7738uchar const_func __attribute__((overloadable)) convert_uchar_rtz(long);
7739uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtz(long);
7740uchar const_func __attribute__((overloadable)) convert_uchar_rtp(long);
7741uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtp(long);
7742uchar const_func __attribute__((overloadable)) convert_uchar_rtn(long);
7743uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtn(long);
7744uchar const_func __attribute__((overloadable)) convert_uchar(long);
7745uchar const_func __attribute__((overloadable)) convert_uchar_sat(long);
7746uchar const_func __attribute__((overloadable)) convert_uchar_rte(ulong);
7747uchar const_func __attribute__((overloadable)) convert_uchar_sat_rte(ulong);
7748uchar const_func __attribute__((overloadable)) convert_uchar_rtz(ulong);
7749uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtz(ulong);
7750uchar const_func __attribute__((overloadable)) convert_uchar_rtp(ulong);
7751uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtp(ulong);
7752uchar const_func __attribute__((overloadable)) convert_uchar_rtn(ulong);
7753uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtn(ulong);
7754uchar const_func __attribute__((overloadable)) convert_uchar(ulong);
7755uchar const_func __attribute__((overloadable)) convert_uchar_sat(ulong);
7756uchar const_func __attribute__((overloadable)) convert_uchar_rte(float);
7757uchar const_func __attribute__((overloadable)) convert_uchar_sat_rte(float);
7758uchar const_func __attribute__((overloadable)) convert_uchar_rtz(float);
7759uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtz(float);
7760uchar const_func __attribute__((overloadable)) convert_uchar_rtp(float);
7761uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtp(float);
7762uchar const_func __attribute__((overloadable)) convert_uchar_rtn(float);
7763uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtn(float);
7764uchar const_func __attribute__((overloadable)) convert_uchar(float);
7765uchar const_func __attribute__((overloadable)) convert_uchar_sat(float);
7766uchar const_func __attribute__((overloadable)) convert_uchar_rte(double);
7767uchar const_func __attribute__((overloadable)) convert_uchar_sat_rte(double);
7768uchar const_func __attribute__((overloadable)) convert_uchar_rtz(double);
7769uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtz(double);
7770uchar const_func __attribute__((overloadable)) convert_uchar_rtp(double);
7771uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtp(double);
7772uchar const_func __attribute__((overloadable)) convert_uchar_rtn(double);
7773uchar const_func __attribute__((overloadable)) convert_uchar_sat_rtn(double);
7774uchar const_func __attribute__((overloadable)) convert_uchar(double);
7775uchar const_func __attribute__((overloadable)) convert_uchar_sat(double);
7776
7777short const_func __attribute__((overloadable)) convert_short_rte(char);
7778short const_func __attribute__((overloadable)) convert_short_sat_rte(char);
7779short const_func __attribute__((overloadable)) convert_short_rtz(char);
7780short const_func __attribute__((overloadable)) convert_short_sat_rtz(char);
7781short const_func __attribute__((overloadable)) convert_short_rtp(char);
7782short const_func __attribute__((overloadable)) convert_short_sat_rtp(char);
7783short const_func __attribute__((overloadable)) convert_short_rtn(char);
7784short const_func __attribute__((overloadable)) convert_short_sat_rtn(char);
7785short const_func __attribute__((overloadable)) convert_short(char);
7786short const_func __attribute__((overloadable)) convert_short_sat(char);
7787short const_func __attribute__((overloadable)) convert_short_rte(uchar);
7788short const_func __attribute__((overloadable)) convert_short_sat_rte(uchar);
7789short const_func __attribute__((overloadable)) convert_short_rtz(uchar);
7790short const_func __attribute__((overloadable)) convert_short_sat_rtz(uchar);
7791short const_func __attribute__((overloadable)) convert_short_rtp(uchar);
7792short const_func __attribute__((overloadable)) convert_short_sat_rtp(uchar);
7793short const_func __attribute__((overloadable)) convert_short_rtn(uchar);
7794short const_func __attribute__((overloadable)) convert_short_sat_rtn(uchar);
7795short const_func __attribute__((overloadable)) convert_short(uchar);
7796short const_func __attribute__((overloadable)) convert_short_sat(uchar);
7797short const_func __attribute__((overloadable)) convert_short_rte(short);
7798short const_func __attribute__((overloadable)) convert_short_sat_rte(short);
7799short const_func __attribute__((overloadable)) convert_short_rtz(short);
7800short const_func __attribute__((overloadable)) convert_short_sat_rtz(short);
7801short const_func __attribute__((overloadable)) convert_short_rtp(short);
7802short const_func __attribute__((overloadable)) convert_short_sat_rtp(short);
7803short const_func __attribute__((overloadable)) convert_short_rtn(short);
7804short const_func __attribute__((overloadable)) convert_short_sat_rtn(short);
7805short const_func __attribute__((overloadable)) convert_short(short);
7806short const_func __attribute__((overloadable)) convert_short_sat(short);
7807short const_func __attribute__((overloadable)) convert_short_rte(ushort);
7808short const_func __attribute__((overloadable)) convert_short_sat_rte(ushort);
7809short const_func __attribute__((overloadable)) convert_short_rtz(ushort);
7810short const_func __attribute__((overloadable)) convert_short_sat_rtz(ushort);
7811short const_func __attribute__((overloadable)) convert_short_rtp(ushort);
7812short const_func __attribute__((overloadable)) convert_short_sat_rtp(ushort);
7813short const_func __attribute__((overloadable)) convert_short_rtn(ushort);
7814short const_func __attribute__((overloadable)) convert_short_sat_rtn(ushort);
7815short const_func __attribute__((overloadable)) convert_short(ushort);
7816short const_func __attribute__((overloadable)) convert_short_sat(ushort);
7817short const_func __attribute__((overloadable)) convert_short_rte(int);
7818short const_func __attribute__((overloadable)) convert_short_sat_rte(int);
7819short const_func __attribute__((overloadable)) convert_short_rtz(int);
7820short const_func __attribute__((overloadable)) convert_short_sat_rtz(int);
7821short const_func __attribute__((overloadable)) convert_short_rtp(int);
7822short const_func __attribute__((overloadable)) convert_short_sat_rtp(int);
7823short const_func __attribute__((overloadable)) convert_short_rtn(int);
7824short const_func __attribute__((overloadable)) convert_short_sat_rtn(int);
7825short const_func __attribute__((overloadable)) convert_short(int);
7826short const_func __attribute__((overloadable)) convert_short_sat(int);
7827short const_func __attribute__((overloadable)) convert_short_rte(uint);
7828short const_func __attribute__((overloadable)) convert_short_sat_rte(uint);
7829short const_func __attribute__((overloadable)) convert_short_rtz(uint);
7830short const_func __attribute__((overloadable)) convert_short_sat_rtz(uint);
7831short const_func __attribute__((overloadable)) convert_short_rtp(uint);
7832short const_func __attribute__((overloadable)) convert_short_sat_rtp(uint);
7833short const_func __attribute__((overloadable)) convert_short_rtn(uint);
7834short const_func __attribute__((overloadable)) convert_short_sat_rtn(uint);
7835short const_func __attribute__((overloadable)) convert_short(uint);
7836short const_func __attribute__((overloadable)) convert_short_sat(uint);
7837short const_func __attribute__((overloadable)) convert_short_rte(long);
7838short const_func __attribute__((overloadable)) convert_short_sat_rte(long);
7839short const_func __attribute__((overloadable)) convert_short_rtz(long);
7840short const_func __attribute__((overloadable)) convert_short_sat_rtz(long);
7841short const_func __attribute__((overloadable)) convert_short_rtp(long);
7842short const_func __attribute__((overloadable)) convert_short_sat_rtp(long);
7843short const_func __attribute__((overloadable)) convert_short_rtn(long);
7844short const_func __attribute__((overloadable)) convert_short_sat_rtn(long);
7845short const_func __attribute__((overloadable)) convert_short(long);
7846short const_func __attribute__((overloadable)) convert_short_sat(long);
7847short const_func __attribute__((overloadable)) convert_short_rte(ulong);
7848short const_func __attribute__((overloadable)) convert_short_sat_rte(ulong);
7849short const_func __attribute__((overloadable)) convert_short_rtz(ulong);
7850short const_func __attribute__((overloadable)) convert_short_sat_rtz(ulong);
7851short const_func __attribute__((overloadable)) convert_short_rtp(ulong);
7852short const_func __attribute__((overloadable)) convert_short_sat_rtp(ulong);
7853short const_func __attribute__((overloadable)) convert_short_rtn(ulong);
7854short const_func __attribute__((overloadable)) convert_short_sat_rtn(ulong);
7855short const_func __attribute__((overloadable)) convert_short(ulong);
7856short const_func __attribute__((overloadable)) convert_short_sat(ulong);
7857short const_func __attribute__((overloadable)) convert_short_rte(float);
7858short const_func __attribute__((overloadable)) convert_short_sat_rte(float);
7859short const_func __attribute__((overloadable)) convert_short_rtz(float);
7860short const_func __attribute__((overloadable)) convert_short_sat_rtz(float);
7861short const_func __attribute__((overloadable)) convert_short_rtp(float);
7862short const_func __attribute__((overloadable)) convert_short_sat_rtp(float);
7863short const_func __attribute__((overloadable)) convert_short_rtn(float);
7864short const_func __attribute__((overloadable)) convert_short_sat_rtn(float);
7865short const_func __attribute__((overloadable)) convert_short(float);
7866short const_func __attribute__((overloadable)) convert_short_sat(float);
7867short const_func __attribute__((overloadable)) convert_short_rte(double);
7868short const_func __attribute__((overloadable)) convert_short_sat_rte(double);
7869short const_func __attribute__((overloadable)) convert_short_rtz(double);
7870short const_func __attribute__((overloadable)) convert_short_sat_rtz(double);
7871short const_func __attribute__((overloadable)) convert_short_rtp(double);
7872short const_func __attribute__((overloadable)) convert_short_sat_rtp(double);
7873short const_func __attribute__((overloadable)) convert_short_rtn(double);
7874short const_func __attribute__((overloadable)) convert_short_sat_rtn(double);
7875short const_func __attribute__((overloadable)) convert_short(double);
7876short const_func __attribute__((overloadable)) convert_short_sat(double);
7877
7878ushort const_func __attribute__((overloadable)) convert_ushort_rte(char);
7879ushort const_func __attribute__((overloadable)) convert_ushort_sat_rte(char);
7880ushort const_func __attribute__((overloadable)) convert_ushort_rtz(char);
7881ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtz(char);
7882ushort const_func __attribute__((overloadable)) convert_ushort_rtp(char);
7883ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtp(char);
7884ushort const_func __attribute__((overloadable)) convert_ushort_rtn(char);
7885ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtn(char);
7886ushort const_func __attribute__((overloadable)) convert_ushort(char);
7887ushort const_func __attribute__((overloadable)) convert_ushort_sat(char);
7888ushort const_func __attribute__((overloadable)) convert_ushort_rte(uchar);
7889ushort const_func __attribute__((overloadable)) convert_ushort_sat_rte(uchar);
7890ushort const_func __attribute__((overloadable)) convert_ushort_rtz(uchar);
7891ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtz(uchar);
7892ushort const_func __attribute__((overloadable)) convert_ushort_rtp(uchar);
7893ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtp(uchar);
7894ushort const_func __attribute__((overloadable)) convert_ushort_rtn(uchar);
7895ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtn(uchar);
7896ushort const_func __attribute__((overloadable)) convert_ushort(uchar);
7897ushort const_func __attribute__((overloadable)) convert_ushort_sat(uchar);
7898ushort const_func __attribute__((overloadable)) convert_ushort_rte(short);
7899ushort const_func __attribute__((overloadable)) convert_ushort_sat_rte(short);
7900ushort const_func __attribute__((overloadable)) convert_ushort_rtz(short);
7901ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtz(short);
7902ushort const_func __attribute__((overloadable)) convert_ushort_rtp(short);
7903ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtp(short);
7904ushort const_func __attribute__((overloadable)) convert_ushort_rtn(short);
7905ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtn(short);
7906ushort const_func __attribute__((overloadable)) convert_ushort(short);
7907ushort const_func __attribute__((overloadable)) convert_ushort_sat(short);
7908ushort const_func __attribute__((overloadable)) convert_ushort_rte(ushort);
7909ushort const_func __attribute__((overloadable)) convert_ushort_sat_rte(ushort);
7910ushort const_func __attribute__((overloadable)) convert_ushort_rtz(ushort);
7911ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtz(ushort);
7912ushort const_func __attribute__((overloadable)) convert_ushort_rtp(ushort);
7913ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtp(ushort);
7914ushort const_func __attribute__((overloadable)) convert_ushort_rtn(ushort);
7915ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtn(ushort);
7916ushort const_func __attribute__((overloadable)) convert_ushort(ushort);
7917ushort const_func __attribute__((overloadable)) convert_ushort_sat(ushort);
7918ushort const_func __attribute__((overloadable)) convert_ushort_rte(int);
7919ushort const_func __attribute__((overloadable)) convert_ushort_sat_rte(int);
7920ushort const_func __attribute__((overloadable)) convert_ushort_rtz(int);
7921ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtz(int);
7922ushort const_func __attribute__((overloadable)) convert_ushort_rtp(int);
7923ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtp(int);
7924ushort const_func __attribute__((overloadable)) convert_ushort_rtn(int);
7925ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtn(int);
7926ushort const_func __attribute__((overloadable)) convert_ushort(int);
7927ushort const_func __attribute__((overloadable)) convert_ushort_sat(int);
7928ushort const_func __attribute__((overloadable)) convert_ushort_rte(uint);
7929ushort const_func __attribute__((overloadable)) convert_ushort_sat_rte(uint);
7930ushort const_func __attribute__((overloadable)) convert_ushort_rtz(uint);
7931ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtz(uint);
7932ushort const_func __attribute__((overloadable)) convert_ushort_rtp(uint);
7933ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtp(uint);
7934ushort const_func __attribute__((overloadable)) convert_ushort_rtn(uint);
7935ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtn(uint);
7936ushort const_func __attribute__((overloadable)) convert_ushort(uint);
7937ushort const_func __attribute__((overloadable)) convert_ushort_sat(uint);
7938ushort const_func __attribute__((overloadable)) convert_ushort_rte(long);
7939ushort const_func __attribute__((overloadable)) convert_ushort_sat_rte(long);
7940ushort const_func __attribute__((overloadable)) convert_ushort_rtz(long);
7941ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtz(long);
7942ushort const_func __attribute__((overloadable)) convert_ushort_rtp(long);
7943ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtp(long);
7944ushort const_func __attribute__((overloadable)) convert_ushort_rtn(long);
7945ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtn(long);
7946ushort const_func __attribute__((overloadable)) convert_ushort(long);
7947ushort const_func __attribute__((overloadable)) convert_ushort_sat(long);
7948ushort const_func __attribute__((overloadable)) convert_ushort_rte(ulong);
7949ushort const_func __attribute__((overloadable)) convert_ushort_sat_rte(ulong);
7950ushort const_func __attribute__((overloadable)) convert_ushort_rtz(ulong);
7951ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtz(ulong);
7952ushort const_func __attribute__((overloadable)) convert_ushort_rtp(ulong);
7953ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtp(ulong);
7954ushort const_func __attribute__((overloadable)) convert_ushort_rtn(ulong);
7955ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtn(ulong);
7956ushort const_func __attribute__((overloadable)) convert_ushort(ulong);
7957ushort const_func __attribute__((overloadable)) convert_ushort_sat(ulong);
7958ushort const_func __attribute__((overloadable)) convert_ushort_rte(float);
7959ushort const_func __attribute__((overloadable)) convert_ushort_sat_rte(float);
7960ushort const_func __attribute__((overloadable)) convert_ushort_rtz(float);
7961ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtz(float);
7962ushort const_func __attribute__((overloadable)) convert_ushort_rtp(float);
7963ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtp(float);
7964ushort const_func __attribute__((overloadable)) convert_ushort_rtn(float);
7965ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtn(float);
7966ushort const_func __attribute__((overloadable)) convert_ushort(float);
7967ushort const_func __attribute__((overloadable)) convert_ushort_sat(float);
7968ushort const_func __attribute__((overloadable)) convert_ushort_rte(double);
7969ushort const_func __attribute__((overloadable)) convert_ushort_sat_rte(double);
7970ushort const_func __attribute__((overloadable)) convert_ushort_rtz(double);
7971ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtz(double);
7972ushort const_func __attribute__((overloadable)) convert_ushort_rtp(double);
7973ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtp(double);
7974ushort const_func __attribute__((overloadable)) convert_ushort_rtn(double);
7975ushort const_func __attribute__((overloadable)) convert_ushort_sat_rtn(double);
7976ushort const_func __attribute__((overloadable)) convert_ushort(double);
7977ushort const_func __attribute__((overloadable)) convert_ushort_sat(double);
7978
7979int const_func __attribute__((overloadable)) convert_int_rte(char);
7980int const_func __attribute__((overloadable)) convert_int_sat_rte(char);
7981int const_func __attribute__((overloadable)) convert_int_rtz(char);
7982int const_func __attribute__((overloadable)) convert_int_sat_rtz(char);
7983int const_func __attribute__((overloadable)) convert_int_rtp(char);
7984int const_func __attribute__((overloadable)) convert_int_sat_rtp(char);
7985int const_func __attribute__((overloadable)) convert_int_rtn(char);
7986int const_func __attribute__((overloadable)) convert_int_sat_rtn(char);
7987int const_func __attribute__((overloadable)) convert_int(char);
7988int const_func __attribute__((overloadable)) convert_int_sat(char);
7989int const_func __attribute__((overloadable)) convert_int_rte(uchar);
7990int const_func __attribute__((overloadable)) convert_int_sat_rte(uchar);
7991int const_func __attribute__((overloadable)) convert_int_rtz(uchar);
7992int const_func __attribute__((overloadable)) convert_int_sat_rtz(uchar);
7993int const_func __attribute__((overloadable)) convert_int_rtp(uchar);
7994int const_func __attribute__((overloadable)) convert_int_sat_rtp(uchar);
7995int const_func __attribute__((overloadable)) convert_int_rtn(uchar);
7996int const_func __attribute__((overloadable)) convert_int_sat_rtn(uchar);
7997int const_func __attribute__((overloadable)) convert_int(uchar);
7998int const_func __attribute__((overloadable)) convert_int_sat(uchar);
7999int const_func __attribute__((overloadable)) convert_int_rte(short);
8000int const_func __attribute__((overloadable)) convert_int_sat_rte(short);
8001int const_func __attribute__((overloadable)) convert_int_rtz(short);
8002int const_func __attribute__((overloadable)) convert_int_sat_rtz(short);
8003int const_func __attribute__((overloadable)) convert_int_rtp(short);
8004int const_func __attribute__((overloadable)) convert_int_sat_rtp(short);
8005int const_func __attribute__((overloadable)) convert_int_rtn(short);
8006int const_func __attribute__((overloadable)) convert_int_sat_rtn(short);
8007int const_func __attribute__((overloadable)) convert_int(short);
8008int const_func __attribute__((overloadable)) convert_int_sat(short);
8009int const_func __attribute__((overloadable)) convert_int_rte(ushort);
8010int const_func __attribute__((overloadable)) convert_int_sat_rte(ushort);
8011int const_func __attribute__((overloadable)) convert_int_rtz(ushort);
8012int const_func __attribute__((overloadable)) convert_int_sat_rtz(ushort);
8013int const_func __attribute__((overloadable)) convert_int_rtp(ushort);
8014int const_func __attribute__((overloadable)) convert_int_sat_rtp(ushort);
8015int const_func __attribute__((overloadable)) convert_int_rtn(ushort);
8016int const_func __attribute__((overloadable)) convert_int_sat_rtn(ushort);
8017int const_func __attribute__((overloadable)) convert_int(ushort);
8018int const_func __attribute__((overloadable)) convert_int_sat(ushort);
8019int const_func __attribute__((overloadable)) convert_int_rte(int);
8020int const_func __attribute__((overloadable)) convert_int_sat_rte(int);
8021int const_func __attribute__((overloadable)) convert_int_rtz(int);
8022int const_func __attribute__((overloadable)) convert_int_sat_rtz(int);
8023int const_func __attribute__((overloadable)) convert_int_rtp(int);
8024int const_func __attribute__((overloadable)) convert_int_sat_rtp(int);
8025int const_func __attribute__((overloadable)) convert_int_rtn(int);
8026int const_func __attribute__((overloadable)) convert_int_sat_rtn(int);
8027int const_func __attribute__((overloadable)) convert_int(int);
8028int const_func __attribute__((overloadable)) convert_int_sat(int);
8029int const_func __attribute__((overloadable)) convert_int_rte(uint);
8030int const_func __attribute__((overloadable)) convert_int_sat_rte(uint);
8031int const_func __attribute__((overloadable)) convert_int_rtz(uint);
8032int const_func __attribute__((overloadable)) convert_int_sat_rtz(uint);
8033int const_func __attribute__((overloadable)) convert_int_rtp(uint);
8034int const_func __attribute__((overloadable)) convert_int_sat_rtp(uint);
8035int const_func __attribute__((overloadable)) convert_int_rtn(uint);
8036int const_func __attribute__((overloadable)) convert_int_sat_rtn(uint);
8037int const_func __attribute__((overloadable)) convert_int(uint);
8038int const_func __attribute__((overloadable)) convert_int_sat(uint);
8039int const_func __attribute__((overloadable)) convert_int_rte(long);
8040int const_func __attribute__((overloadable)) convert_int_sat_rte(long);
8041int const_func __attribute__((overloadable)) convert_int_rtz(long);
8042int const_func __attribute__((overloadable)) convert_int_sat_rtz(long);
8043int const_func __attribute__((overloadable)) convert_int_rtp(long);
8044int const_func __attribute__((overloadable)) convert_int_sat_rtp(long);
8045int const_func __attribute__((overloadable)) convert_int_rtn(long);
8046int const_func __attribute__((overloadable)) convert_int_sat_rtn(long);
8047int const_func __attribute__((overloadable)) convert_int(long);
8048int const_func __attribute__((overloadable)) convert_int_sat(long);
8049int const_func __attribute__((overloadable)) convert_int_rte(ulong);
8050int const_func __attribute__((overloadable)) convert_int_sat_rte(ulong);
8051int const_func __attribute__((overloadable)) convert_int_rtz(ulong);
8052int const_func __attribute__((overloadable)) convert_int_sat_rtz(ulong);
8053int const_func __attribute__((overloadable)) convert_int_rtp(ulong);
8054int const_func __attribute__((overloadable)) convert_int_sat_rtp(ulong);
8055int const_func __attribute__((overloadable)) convert_int_rtn(ulong);
8056int const_func __attribute__((overloadable)) convert_int_sat_rtn(ulong);
8057int const_func __attribute__((overloadable)) convert_int(ulong);
8058int const_func __attribute__((overloadable)) convert_int_sat(ulong);
8059int const_func __attribute__((overloadable)) convert_int_rte(float);
8060int const_func __attribute__((overloadable)) convert_int_sat_rte(float);
8061int const_func __attribute__((overloadable)) convert_int_rtz(float);
8062int const_func __attribute__((overloadable)) convert_int_sat_rtz(float);
8063int const_func __attribute__((overloadable)) convert_int_rtp(float);
8064int const_func __attribute__((overloadable)) convert_int_sat_rtp(float);
8065int const_func __attribute__((overloadable)) convert_int_rtn(float);
8066int const_func __attribute__((overloadable)) convert_int_sat_rtn(float);
8067int const_func __attribute__((overloadable)) convert_int(float);
8068int const_func __attribute__((overloadable)) convert_int_sat(float);
8069int const_func __attribute__((overloadable)) convert_int_rte(double);
8070int const_func __attribute__((overloadable)) convert_int_sat_rte(double);
8071int const_func __attribute__((overloadable)) convert_int_rtz(double);
8072int const_func __attribute__((overloadable)) convert_int_sat_rtz(double);
8073int const_func __attribute__((overloadable)) convert_int_rtp(double);
8074int const_func __attribute__((overloadable)) convert_int_sat_rtp(double);
8075int const_func __attribute__((overloadable)) convert_int_rtn(double);
8076int const_func __attribute__((overloadable)) convert_int_sat_rtn(double);
8077int const_func __attribute__((overloadable)) convert_int(double);
8078int const_func __attribute__((overloadable)) convert_int_sat(double);
8079
8080uint const_func __attribute__((overloadable)) convert_uint_rte(char);
8081uint const_func __attribute__((overloadable)) convert_uint_sat_rte(char);
8082uint const_func __attribute__((overloadable)) convert_uint_rtz(char);
8083uint const_func __attribute__((overloadable)) convert_uint_sat_rtz(char);
8084uint const_func __attribute__((overloadable)) convert_uint_rtp(char);
8085uint const_func __attribute__((overloadable)) convert_uint_sat_rtp(char);
8086uint const_func __attribute__((overloadable)) convert_uint_rtn(char);
8087uint const_func __attribute__((overloadable)) convert_uint_sat_rtn(char);
8088uint const_func __attribute__((overloadable)) convert_uint(char);
8089uint const_func __attribute__((overloadable)) convert_uint_sat(char);
8090uint const_func __attribute__((overloadable)) convert_uint_rte(uchar);
8091uint const_func __attribute__((overloadable)) convert_uint_sat_rte(uchar);
8092uint const_func __attribute__((overloadable)) convert_uint_rtz(uchar);
8093uint const_func __attribute__((overloadable)) convert_uint_sat_rtz(uchar);
8094uint const_func __attribute__((overloadable)) convert_uint_rtp(uchar);
8095uint const_func __attribute__((overloadable)) convert_uint_sat_rtp(uchar);
8096uint const_func __attribute__((overloadable)) convert_uint_rtn(uchar);
8097uint const_func __attribute__((overloadable)) convert_uint_sat_rtn(uchar);
8098uint const_func __attribute__((overloadable)) convert_uint(uchar);
8099uint const_func __attribute__((overloadable)) convert_uint_sat(uchar);
8100uint const_func __attribute__((overloadable)) convert_uint_rte(short);
8101uint const_func __attribute__((overloadable)) convert_uint_sat_rte(short);
8102uint const_func __attribute__((overloadable)) convert_uint_rtz(short);
8103uint const_func __attribute__((overloadable)) convert_uint_sat_rtz(short);
8104uint const_func __attribute__((overloadable)) convert_uint_rtp(short);
8105uint const_func __attribute__((overloadable)) convert_uint_sat_rtp(short);
8106uint const_func __attribute__((overloadable)) convert_uint_rtn(short);
8107uint const_func __attribute__((overloadable)) convert_uint_sat_rtn(short);
8108uint const_func __attribute__((overloadable)) convert_uint(short);
8109uint const_func __attribute__((overloadable)) convert_uint_sat(short);
8110uint const_func __attribute__((overloadable)) convert_uint_rte(ushort);
8111uint const_func __attribute__((overloadable)) convert_uint_sat_rte(ushort);
8112uint const_func __attribute__((overloadable)) convert_uint_rtz(ushort);
8113uint const_func __attribute__((overloadable)) convert_uint_sat_rtz(ushort);
8114uint const_func __attribute__((overloadable)) convert_uint_rtp(ushort);
8115uint const_func __attribute__((overloadable)) convert_uint_sat_rtp(ushort);
8116uint const_func __attribute__((overloadable)) convert_uint_rtn(ushort);
8117uint const_func __attribute__((overloadable)) convert_uint_sat_rtn(ushort);
8118uint const_func __attribute__((overloadable)) convert_uint(ushort);
8119uint const_func __attribute__((overloadable)) convert_uint_sat(ushort);
8120uint const_func __attribute__((overloadable)) convert_uint_rte(int);
8121uint const_func __attribute__((overloadable)) convert_uint_sat_rte(int);
8122uint const_func __attribute__((overloadable)) convert_uint_rtz(int);
8123uint const_func __attribute__((overloadable)) convert_uint_sat_rtz(int);
8124uint const_func __attribute__((overloadable)) convert_uint_rtp(int);
8125uint const_func __attribute__((overloadable)) convert_uint_sat_rtp(int);
8126uint const_func __attribute__((overloadable)) convert_uint_rtn(int);
8127uint const_func __attribute__((overloadable)) convert_uint_sat_rtn(int);
8128uint const_func __attribute__((overloadable)) convert_uint(int);
8129uint const_func __attribute__((overloadable)) convert_uint_sat(int);
8130uint const_func __attribute__((overloadable)) convert_uint_rte(uint);
8131uint const_func __attribute__((overloadable)) convert_uint_sat_rte(uint);
8132uint const_func __attribute__((overloadable)) convert_uint_rtz(uint);
8133uint const_func __attribute__((overloadable)) convert_uint_sat_rtz(uint);
8134uint const_func __attribute__((overloadable)) convert_uint_rtp(uint);
8135uint const_func __attribute__((overloadable)) convert_uint_sat_rtp(uint);
8136uint const_func __attribute__((overloadable)) convert_uint_rtn(uint);
8137uint const_func __attribute__((overloadable)) convert_uint_sat_rtn(uint);
8138uint const_func __attribute__((overloadable)) convert_uint(uint);
8139uint const_func __attribute__((overloadable)) convert_uint_sat(uint);
8140uint const_func __attribute__((overloadable)) convert_uint_rte(long);
8141uint const_func __attribute__((overloadable)) convert_uint_sat_rte(long);
8142uint const_func __attribute__((overloadable)) convert_uint_rtz(long);
8143uint const_func __attribute__((overloadable)) convert_uint_sat_rtz(long);
8144uint const_func __attribute__((overloadable)) convert_uint_rtp(long);
8145uint const_func __attribute__((overloadable)) convert_uint_sat_rtp(long);
8146uint const_func __attribute__((overloadable)) convert_uint_rtn(long);
8147uint const_func __attribute__((overloadable)) convert_uint_sat_rtn(long);
8148uint const_func __attribute__((overloadable)) convert_uint(long);
8149uint const_func __attribute__((overloadable)) convert_uint_sat(long);
8150uint const_func __attribute__((overloadable)) convert_uint_rte(ulong);
8151uint const_func __attribute__((overloadable)) convert_uint_sat_rte(ulong);
8152uint const_func __attribute__((overloadable)) convert_uint_rtz(ulong);
8153uint const_func __attribute__((overloadable)) convert_uint_sat_rtz(ulong);
8154uint const_func __attribute__((overloadable)) convert_uint_rtp(ulong);
8155uint const_func __attribute__((overloadable)) convert_uint_sat_rtp(ulong);
8156uint const_func __attribute__((overloadable)) convert_uint_rtn(ulong);
8157uint const_func __attribute__((overloadable)) convert_uint_sat_rtn(ulong);
8158uint const_func __attribute__((overloadable)) convert_uint(ulong);
8159uint const_func __attribute__((overloadable)) convert_uint_sat(ulong);
8160uint const_func __attribute__((overloadable)) convert_uint_rte(float);
8161uint const_func __attribute__((overloadable)) convert_uint_sat_rte(float);
8162uint const_func __attribute__((overloadable)) convert_uint_rtz(float);
8163uint const_func __attribute__((overloadable)) convert_uint_sat_rtz(float);
8164uint const_func __attribute__((overloadable)) convert_uint_rtp(float);
8165uint const_func __attribute__((overloadable)) convert_uint_sat_rtp(float);
8166uint const_func __attribute__((overloadable)) convert_uint_rtn(float);
8167uint const_func __attribute__((overloadable)) convert_uint_sat_rtn(float);
8168uint const_func __attribute__((overloadable)) convert_uint(float);
8169uint const_func __attribute__((overloadable)) convert_uint_sat(float);
8170uint const_func __attribute__((overloadable)) convert_uint_rte(double);
8171uint const_func __attribute__((overloadable)) convert_uint_sat_rte(double);
8172uint const_func __attribute__((overloadable)) convert_uint_rtz(double);
8173uint const_func __attribute__((overloadable)) convert_uint_sat_rtz(double);
8174uint const_func __attribute__((overloadable)) convert_uint_rtp(double);
8175uint const_func __attribute__((overloadable)) convert_uint_sat_rtp(double);
8176uint const_func __attribute__((overloadable)) convert_uint_rtn(double);
8177uint const_func __attribute__((overloadable)) convert_uint_sat_rtn(double);
8178uint const_func __attribute__((overloadable)) convert_uint(double);
8179uint const_func __attribute__((overloadable)) convert_uint_sat(double);
8180long const_func __attribute__((overloadable)) convert_long_rte(char);
8181long const_func __attribute__((overloadable)) convert_long_sat_rte(char);
8182long const_func __attribute__((overloadable)) convert_long_rtz(char);
8183long const_func __attribute__((overloadable)) convert_long_sat_rtz(char);
8184long const_func __attribute__((overloadable)) convert_long_rtp(char);
8185long const_func __attribute__((overloadable)) convert_long_sat_rtp(char);
8186long const_func __attribute__((overloadable)) convert_long_rtn(char);
8187long const_func __attribute__((overloadable)) convert_long_sat_rtn(char);
8188long const_func __attribute__((overloadable)) convert_long(char);
8189long const_func __attribute__((overloadable)) convert_long_sat(char);
8190long const_func __attribute__((overloadable)) convert_long_rte(uchar);
8191long const_func __attribute__((overloadable)) convert_long_sat_rte(uchar);
8192long const_func __attribute__((overloadable)) convert_long_rtz(uchar);
8193long const_func __attribute__((overloadable)) convert_long_sat_rtz(uchar);
8194long const_func __attribute__((overloadable)) convert_long_rtp(uchar);
8195long const_func __attribute__((overloadable)) convert_long_sat_rtp(uchar);
8196long const_func __attribute__((overloadable)) convert_long_rtn(uchar);
8197long const_func __attribute__((overloadable)) convert_long_sat_rtn(uchar);
8198long const_func __attribute__((overloadable)) convert_long(uchar);
8199long const_func __attribute__((overloadable)) convert_long_sat(uchar);
8200long const_func __attribute__((overloadable)) convert_long_rte(short);
8201long const_func __attribute__((overloadable)) convert_long_sat_rte(short);
8202long const_func __attribute__((overloadable)) convert_long_rtz(short);
8203long const_func __attribute__((overloadable)) convert_long_sat_rtz(short);
8204long const_func __attribute__((overloadable)) convert_long_rtp(short);
8205long const_func __attribute__((overloadable)) convert_long_sat_rtp(short);
8206long const_func __attribute__((overloadable)) convert_long_rtn(short);
8207long const_func __attribute__((overloadable)) convert_long_sat_rtn(short);
8208long const_func __attribute__((overloadable)) convert_long(short);
8209long const_func __attribute__((overloadable)) convert_long_sat(short);
8210long const_func __attribute__((overloadable)) convert_long_rte(ushort);
8211long const_func __attribute__((overloadable)) convert_long_sat_rte(ushort);
8212long const_func __attribute__((overloadable)) convert_long_rtz(ushort);
8213long const_func __attribute__((overloadable)) convert_long_sat_rtz(ushort);
8214long const_func __attribute__((overloadable)) convert_long_rtp(ushort);
8215long const_func __attribute__((overloadable)) convert_long_sat_rtp(ushort);
8216long const_func __attribute__((overloadable)) convert_long_rtn(ushort);
8217long const_func __attribute__((overloadable)) convert_long_sat_rtn(ushort);
8218long const_func __attribute__((overloadable)) convert_long(ushort);
8219long const_func __attribute__((overloadable)) convert_long_sat(ushort);
8220long const_func __attribute__((overloadable)) convert_long_rte(int);
8221long const_func __attribute__((overloadable)) convert_long_sat_rte(int);
8222long const_func __attribute__((overloadable)) convert_long_rtz(int);
8223long const_func __attribute__((overloadable)) convert_long_sat_rtz(int);
8224long const_func __attribute__((overloadable)) convert_long_rtp(int);
8225long const_func __attribute__((overloadable)) convert_long_sat_rtp(int);
8226long const_func __attribute__((overloadable)) convert_long_rtn(int);
8227long const_func __attribute__((overloadable)) convert_long_sat_rtn(int);
8228long const_func __attribute__((overloadable)) convert_long(int);
8229long const_func __attribute__((overloadable)) convert_long_sat(int);
8230long const_func __attribute__((overloadable)) convert_long_rte(uint);
8231long const_func __attribute__((overloadable)) convert_long_sat_rte(uint);
8232long const_func __attribute__((overloadable)) convert_long_rtz(uint);
8233long const_func __attribute__((overloadable)) convert_long_sat_rtz(uint);
8234long const_func __attribute__((overloadable)) convert_long_rtp(uint);
8235long const_func __attribute__((overloadable)) convert_long_sat_rtp(uint);
8236long const_func __attribute__((overloadable)) convert_long_rtn(uint);
8237long const_func __attribute__((overloadable)) convert_long_sat_rtn(uint);
8238long const_func __attribute__((overloadable)) convert_long(uint);
8239long const_func __attribute__((overloadable)) convert_long_sat(uint);
8240long const_func __attribute__((overloadable)) convert_long_rte(long);
8241long const_func __attribute__((overloadable)) convert_long_sat_rte(long);
8242long const_func __attribute__((overloadable)) convert_long_rtz(long);
8243long const_func __attribute__((overloadable)) convert_long_sat_rtz(long);
8244long const_func __attribute__((overloadable)) convert_long_rtp(long);
8245long const_func __attribute__((overloadable)) convert_long_sat_rtp(long);
8246long const_func __attribute__((overloadable)) convert_long_rtn(long);
8247long const_func __attribute__((overloadable)) convert_long_sat_rtn(long);
8248long const_func __attribute__((overloadable)) convert_long(long);
8249long const_func __attribute__((overloadable)) convert_long_sat(long);
8250long const_func __attribute__((overloadable)) convert_long_rte(ulong);
8251long const_func __attribute__((overloadable)) convert_long_sat_rte(ulong);
8252long const_func __attribute__((overloadable)) convert_long_rtz(ulong);
8253long const_func __attribute__((overloadable)) convert_long_sat_rtz(ulong);
8254long const_func __attribute__((overloadable)) convert_long_rtp(ulong);
8255long const_func __attribute__((overloadable)) convert_long_sat_rtp(ulong);
8256long const_func __attribute__((overloadable)) convert_long_rtn(ulong);
8257long const_func __attribute__((overloadable)) convert_long_sat_rtn(ulong);
8258long const_func __attribute__((overloadable)) convert_long(ulong);
8259long const_func __attribute__((overloadable)) convert_long_sat(ulong);
8260long const_func __attribute__((overloadable)) convert_long_rte(float);
8261long const_func __attribute__((overloadable)) convert_long_sat_rte(float);
8262long const_func __attribute__((overloadable)) convert_long_rtz(float);
8263long const_func __attribute__((overloadable)) convert_long_sat_rtz(float);
8264long const_func __attribute__((overloadable)) convert_long_rtp(float);
8265long const_func __attribute__((overloadable)) convert_long_sat_rtp(float);
8266long const_func __attribute__((overloadable)) convert_long_rtn(float);
8267long const_func __attribute__((overloadable)) convert_long_sat_rtn(float);
8268long const_func __attribute__((overloadable)) convert_long(float);
8269long const_func __attribute__((overloadable)) convert_long_sat(float);
8270long const_func __attribute__((overloadable)) convert_long_rte(double);
8271long const_func __attribute__((overloadable)) convert_long_sat_rte(double);
8272long const_func __attribute__((overloadable)) convert_long_rtz(double);
8273long const_func __attribute__((overloadable)) convert_long_sat_rtz(double);
8274long const_func __attribute__((overloadable)) convert_long_rtp(double);
8275long const_func __attribute__((overloadable)) convert_long_sat_rtp(double);
8276long const_func __attribute__((overloadable)) convert_long_rtn(double);
8277long const_func __attribute__((overloadable)) convert_long_sat_rtn(double);
8278long const_func __attribute__((overloadable)) convert_long(double);
8279long const_func __attribute__((overloadable)) convert_long_sat(double);
8280
8281ulong const_func __attribute__((overloadable)) convert_ulong_rte(char);
8282ulong const_func __attribute__((overloadable)) convert_ulong_sat_rte(char);
8283ulong const_func __attribute__((overloadable)) convert_ulong_rtz(char);
8284ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtz(char);
8285ulong const_func __attribute__((overloadable)) convert_ulong_rtp(char);
8286ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtp(char);
8287ulong const_func __attribute__((overloadable)) convert_ulong_rtn(char);
8288ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtn(char);
8289ulong const_func __attribute__((overloadable)) convert_ulong(char);
8290ulong const_func __attribute__((overloadable)) convert_ulong_sat(char);
8291ulong const_func __attribute__((overloadable)) convert_ulong_rte(uchar);
8292ulong const_func __attribute__((overloadable)) convert_ulong_sat_rte(uchar);
8293ulong const_func __attribute__((overloadable)) convert_ulong_rtz(uchar);
8294ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtz(uchar);
8295ulong const_func __attribute__((overloadable)) convert_ulong_rtp(uchar);
8296ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtp(uchar);
8297ulong const_func __attribute__((overloadable)) convert_ulong_rtn(uchar);
8298ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtn(uchar);
8299ulong const_func __attribute__((overloadable)) convert_ulong(uchar);
8300ulong const_func __attribute__((overloadable)) convert_ulong_sat(uchar);
8301ulong const_func __attribute__((overloadable)) convert_ulong_rte(short);
8302ulong const_func __attribute__((overloadable)) convert_ulong_sat_rte(short);
8303ulong const_func __attribute__((overloadable)) convert_ulong_rtz(short);
8304ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtz(short);
8305ulong const_func __attribute__((overloadable)) convert_ulong_rtp(short);
8306ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtp(short);
8307ulong const_func __attribute__((overloadable)) convert_ulong_rtn(short);
8308ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtn(short);
8309ulong const_func __attribute__((overloadable)) convert_ulong(short);
8310ulong const_func __attribute__((overloadable)) convert_ulong_sat(short);
8311ulong const_func __attribute__((overloadable)) convert_ulong_rte(ushort);
8312ulong const_func __attribute__((overloadable)) convert_ulong_sat_rte(ushort);
8313ulong const_func __attribute__((overloadable)) convert_ulong_rtz(ushort);
8314ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtz(ushort);
8315ulong const_func __attribute__((overloadable)) convert_ulong_rtp(ushort);
8316ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtp(ushort);
8317ulong const_func __attribute__((overloadable)) convert_ulong_rtn(ushort);
8318ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtn(ushort);
8319ulong const_func __attribute__((overloadable)) convert_ulong(ushort);
8320ulong const_func __attribute__((overloadable)) convert_ulong_sat(ushort);
8321ulong const_func __attribute__((overloadable)) convert_ulong_rte(int);
8322ulong const_func __attribute__((overloadable)) convert_ulong_sat_rte(int);
8323ulong const_func __attribute__((overloadable)) convert_ulong_rtz(int);
8324ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtz(int);
8325ulong const_func __attribute__((overloadable)) convert_ulong_rtp(int);
8326ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtp(int);
8327ulong const_func __attribute__((overloadable)) convert_ulong_rtn(int);
8328ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtn(int);
8329ulong const_func __attribute__((overloadable)) convert_ulong(int);
8330ulong const_func __attribute__((overloadable)) convert_ulong_sat(int);
8331ulong const_func __attribute__((overloadable)) convert_ulong_rte(uint);
8332ulong const_func __attribute__((overloadable)) convert_ulong_sat_rte(uint);
8333ulong const_func __attribute__((overloadable)) convert_ulong_rtz(uint);
8334ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtz(uint);
8335ulong const_func __attribute__((overloadable)) convert_ulong_rtp(uint);
8336ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtp(uint);
8337ulong const_func __attribute__((overloadable)) convert_ulong_rtn(uint);
8338ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtn(uint);
8339ulong const_func __attribute__((overloadable)) convert_ulong(uint);
8340ulong const_func __attribute__((overloadable)) convert_ulong_sat(uint);
8341ulong const_func __attribute__((overloadable)) convert_ulong_rte(long);
8342ulong const_func __attribute__((overloadable)) convert_ulong_sat_rte(long);
8343ulong const_func __attribute__((overloadable)) convert_ulong_rtz(long);
8344ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtz(long);
8345ulong const_func __attribute__((overloadable)) convert_ulong_rtp(long);
8346ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtp(long);
8347ulong const_func __attribute__((overloadable)) convert_ulong_rtn(long);
8348ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtn(long);
8349ulong const_func __attribute__((overloadable)) convert_ulong(long);
8350ulong const_func __attribute__((overloadable)) convert_ulong_sat(long);
8351ulong const_func __attribute__((overloadable)) convert_ulong_rte(ulong);
8352ulong const_func __attribute__((overloadable)) convert_ulong_sat_rte(ulong);
8353ulong const_func __attribute__((overloadable)) convert_ulong_rtz(ulong);
8354ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtz(ulong);
8355ulong const_func __attribute__((overloadable)) convert_ulong_rtp(ulong);
8356ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtp(ulong);
8357ulong const_func __attribute__((overloadable)) convert_ulong_rtn(ulong);
8358ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtn(ulong);
8359ulong const_func __attribute__((overloadable)) convert_ulong(ulong);
8360ulong const_func __attribute__((overloadable)) convert_ulong_sat(ulong);
8361ulong const_func __attribute__((overloadable)) convert_ulong_rte(float);
8362ulong const_func __attribute__((overloadable)) convert_ulong_sat_rte(float);
8363ulong const_func __attribute__((overloadable)) convert_ulong_rtz(float);
8364ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtz(float);
8365ulong const_func __attribute__((overloadable)) convert_ulong_rtp(float);
8366ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtp(float);
8367ulong const_func __attribute__((overloadable)) convert_ulong_rtn(float);
8368ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtn(float);
8369ulong const_func __attribute__((overloadable)) convert_ulong(float);
8370ulong const_func __attribute__((overloadable)) convert_ulong_sat(float);
8371ulong const_func __attribute__((overloadable)) convert_ulong_rte(double);
8372ulong const_func __attribute__((overloadable)) convert_ulong_sat_rte(double);
8373ulong const_func __attribute__((overloadable)) convert_ulong_rtz(double);
8374ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtz(double);
8375ulong const_func __attribute__((overloadable)) convert_ulong_rtp(double);
8376ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtp(double);
8377ulong const_func __attribute__((overloadable)) convert_ulong_rtn(double);
8378ulong const_func __attribute__((overloadable)) convert_ulong_sat_rtn(double);
8379ulong const_func __attribute__((overloadable)) convert_ulong(double);
8380ulong const_func __attribute__((overloadable)) convert_ulong_sat(double);
8381
8382float const_func __attribute__((overloadable)) convert_float_rte(char);
8383float const_func __attribute__((overloadable)) convert_float_rtz(char);
8384float const_func __attribute__((overloadable)) convert_float_rtp(char);
8385float const_func __attribute__((overloadable)) convert_float_rtn(char);
8386float const_func __attribute__((overloadable)) convert_float(char);
8387float const_func __attribute__((overloadable)) convert_float_rte(uchar);
8388float const_func __attribute__((overloadable)) convert_float_rtz(uchar);
8389float const_func __attribute__((overloadable)) convert_float_rtp(uchar);
8390float const_func __attribute__((overloadable)) convert_float_rtn(uchar);
8391float const_func __attribute__((overloadable)) convert_float(uchar);
8392float const_func __attribute__((overloadable)) convert_float_rte(short);
8393float const_func __attribute__((overloadable)) convert_float_rtz(short);
8394float const_func __attribute__((overloadable)) convert_float_rtp(short);
8395float const_func __attribute__((overloadable)) convert_float_rtn(short);
8396float const_func __attribute__((overloadable)) convert_float(short);
8397float const_func __attribute__((overloadable)) convert_float_rte(ushort);
8398float const_func __attribute__((overloadable)) convert_float_rtz(ushort);
8399float const_func __attribute__((overloadable)) convert_float_rtp(ushort);
8400float const_func __attribute__((overloadable)) convert_float_rtn(ushort);
8401float const_func __attribute__((overloadable)) convert_float(ushort);
8402float const_func __attribute__((overloadable)) convert_float_rte(int);
8403float const_func __attribute__((overloadable)) convert_float_rtz(int);
8404float const_func __attribute__((overloadable)) convert_float_rtp(int);
8405float const_func __attribute__((overloadable)) convert_float_rtn(int);
8406float const_func __attribute__((overloadable)) convert_float(int);
8407float const_func __attribute__((overloadable)) convert_float_rte(uint);
8408float const_func __attribute__((overloadable)) convert_float_rtz(uint);
8409float const_func __attribute__((overloadable)) convert_float_rtp(uint);
8410float const_func __attribute__((overloadable)) convert_float_rtn(uint);
8411float const_func __attribute__((overloadable)) convert_float(uint);
8412float const_func __attribute__((overloadable)) convert_float_rte(long);
8413float const_func __attribute__((overloadable)) convert_float_rtz(long);
8414float const_func __attribute__((overloadable)) convert_float_rtp(long);
8415float const_func __attribute__((overloadable)) convert_float_rtn(long);
8416float const_func __attribute__((overloadable)) convert_float(long);
8417float const_func __attribute__((overloadable)) convert_float_rte(ulong);
8418float const_func __attribute__((overloadable)) convert_float_rtz(ulong);
8419float const_func __attribute__((overloadable)) convert_float_rtp(ulong);
8420float const_func __attribute__((overloadable)) convert_float_rtn(ulong);
8421float const_func __attribute__((overloadable)) convert_float(ulong);
8422float const_func __attribute__((overloadable)) convert_float_rte(float);
8423float const_func __attribute__((overloadable)) convert_float_rtz(float);
8424float const_func __attribute__((overloadable)) convert_float_rtp(float);
8425float const_func __attribute__((overloadable)) convert_float_rtn(float);
8426float const_func __attribute__((overloadable)) convert_float(float);
8427float const_func __attribute__((overloadable)) convert_float_rte(double);
8428float const_func __attribute__((overloadable)) convert_float_rtz(double);
8429float const_func __attribute__((overloadable)) convert_float_rtp(double);
8430float const_func __attribute__((overloadable)) convert_float_rtn(double);
8431float const_func __attribute__((overloadable)) convert_float(double);
8432
8433double const_func __attribute__((overloadable)) convert_double_rte(char);
8434double const_func __attribute__((overloadable)) convert_double_rtz(char);
8435double const_func __attribute__((overloadable)) convert_double_rtp(char);
8436double const_func __attribute__((overloadable)) convert_double_rtn(char);
8437double const_func __attribute__((overloadable)) convert_double(char);
8438double const_func __attribute__((overloadable)) convert_double_rte(uchar);
8439double const_func __attribute__((overloadable)) convert_double_rtz(uchar);
8440double const_func __attribute__((overloadable)) convert_double_rtp(uchar);
8441double const_func __attribute__((overloadable)) convert_double_rtn(uchar);
8442double const_func __attribute__((overloadable)) convert_double(uchar);
8443double const_func __attribute__((overloadable)) convert_double_rte(short);
8444double const_func __attribute__((overloadable)) convert_double_rtz(short);
8445double const_func __attribute__((overloadable)) convert_double_rtp(short);
8446double const_func __attribute__((overloadable)) convert_double_rtn(short);
8447double const_func __attribute__((overloadable)) convert_double(short);
8448double const_func __attribute__((overloadable)) convert_double_rte(ushort);
8449double const_func __attribute__((overloadable)) convert_double_rtz(ushort);
8450double const_func __attribute__((overloadable)) convert_double_rtp(ushort);
8451double const_func __attribute__((overloadable)) convert_double_rtn(ushort);
8452double const_func __attribute__((overloadable)) convert_double(ushort);
8453double const_func __attribute__((overloadable)) convert_double_rte(int);
8454double const_func __attribute__((overloadable)) convert_double_rtz(int);
8455double const_func __attribute__((overloadable)) convert_double_rtp(int);
8456double const_func __attribute__((overloadable)) convert_double_rtn(int);
8457double const_func __attribute__((overloadable)) convert_double(int);
8458double const_func __attribute__((overloadable)) convert_double_rte(uint);
8459double const_func __attribute__((overloadable)) convert_double_rtz(uint);
8460double const_func __attribute__((overloadable)) convert_double_rtp(uint);
8461double const_func __attribute__((overloadable)) convert_double_rtn(uint);
8462double const_func __attribute__((overloadable)) convert_double(uint);
8463double const_func __attribute__((overloadable)) convert_double_rte(long);
8464double const_func __attribute__((overloadable)) convert_double_rtz(long);
8465double const_func __attribute__((overloadable)) convert_double_rtp(long);
8466double const_func __attribute__((overloadable)) convert_double_rtn(long);
8467double const_func __attribute__((overloadable)) convert_double(long);
8468double const_func __attribute__((overloadable)) convert_double_rte(ulong);
8469double const_func __attribute__((overloadable)) convert_double_rtz(ulong);
8470double const_func __attribute__((overloadable)) convert_double_rtp(ulong);
8471double const_func __attribute__((overloadable)) convert_double_rtn(ulong);
8472double const_func __attribute__((overloadable)) convert_double(ulong);
8473double const_func __attribute__((overloadable)) convert_double_rte(float);
8474double const_func __attribute__((overloadable)) convert_double_rtz(float);
8475double const_func __attribute__((overloadable)) convert_double_rtp(float);
8476double const_func __attribute__((overloadable)) convert_double_rtn(float);
8477double const_func __attribute__((overloadable)) convert_double(float);
8478double const_func __attribute__((overloadable)) convert_double_rte(double);
8479double const_func __attribute__((overloadable)) convert_double_rtz(double);
8480double const_func __attribute__((overloadable)) convert_double_rtp(double);
8481double const_func __attribute__((overloadable)) convert_double_rtn(double);
8482double const_func __attribute__((overloadable)) convert_double(double);
8483
8484char2 const_func __attribute__((overloadable)) convert_char2_rte(char2);
8485char2 const_func __attribute__((overloadable)) convert_char2_sat_rte(char2);
8486char2 const_func __attribute__((overloadable)) convert_char2_rtz(char2);
8487char2 const_func __attribute__((overloadable)) convert_char2_sat_rtz(char2);
8488char2 const_func __attribute__((overloadable)) convert_char2_rtp(char2);
8489char2 const_func __attribute__((overloadable)) convert_char2_sat_rtp(char2);
8490char2 const_func __attribute__((overloadable)) convert_char2_rtn(char2);
8491char2 const_func __attribute__((overloadable)) convert_char2_sat_rtn(char2);
8492char2 const_func __attribute__((overloadable)) convert_char2(char2);
8493char2 const_func __attribute__((overloadable)) convert_char2_sat(char2);
8494char2 const_func __attribute__((overloadable)) convert_char2_rte(uchar2);
8495char2 const_func __attribute__((overloadable)) convert_char2_sat_rte(uchar2);
8496char2 const_func __attribute__((overloadable)) convert_char2_rtz(uchar2);
8497char2 const_func __attribute__((overloadable)) convert_char2_sat_rtz(uchar2);
8498char2 const_func __attribute__((overloadable)) convert_char2_rtp(uchar2);
8499char2 const_func __attribute__((overloadable)) convert_char2_sat_rtp(uchar2);
8500char2 const_func __attribute__((overloadable)) convert_char2_rtn(uchar2);
8501char2 const_func __attribute__((overloadable)) convert_char2_sat_rtn(uchar2);
8502char2 const_func __attribute__((overloadable)) convert_char2(uchar2);
8503char2 const_func __attribute__((overloadable)) convert_char2_sat(uchar2);
8504char2 const_func __attribute__((overloadable)) convert_char2_rte(short2);
8505char2 const_func __attribute__((overloadable)) convert_char2_sat_rte(short2);
8506char2 const_func __attribute__((overloadable)) convert_char2_rtz(short2);
8507char2 const_func __attribute__((overloadable)) convert_char2_sat_rtz(short2);
8508char2 const_func __attribute__((overloadable)) convert_char2_rtp(short2);
8509char2 const_func __attribute__((overloadable)) convert_char2_sat_rtp(short2);
8510char2 const_func __attribute__((overloadable)) convert_char2_rtn(short2);
8511char2 const_func __attribute__((overloadable)) convert_char2_sat_rtn(short2);
8512char2 const_func __attribute__((overloadable)) convert_char2(short2);
8513char2 const_func __attribute__((overloadable)) convert_char2_sat(short2);
8514char2 const_func __attribute__((overloadable)) convert_char2_rte(ushort2);
8515char2 const_func __attribute__((overloadable)) convert_char2_sat_rte(ushort2);
8516char2 const_func __attribute__((overloadable)) convert_char2_rtz(ushort2);
8517char2 const_func __attribute__((overloadable)) convert_char2_sat_rtz(ushort2);
8518char2 const_func __attribute__((overloadable)) convert_char2_rtp(ushort2);
8519char2 const_func __attribute__((overloadable)) convert_char2_sat_rtp(ushort2);
8520char2 const_func __attribute__((overloadable)) convert_char2_rtn(ushort2);
8521char2 const_func __attribute__((overloadable)) convert_char2_sat_rtn(ushort2);
8522char2 const_func __attribute__((overloadable)) convert_char2(ushort2);
8523char2 const_func __attribute__((overloadable)) convert_char2_sat(ushort2);
8524char2 const_func __attribute__((overloadable)) convert_char2_rte(int2);
8525char2 const_func __attribute__((overloadable)) convert_char2_sat_rte(int2);
8526char2 const_func __attribute__((overloadable)) convert_char2_rtz(int2);
8527char2 const_func __attribute__((overloadable)) convert_char2_sat_rtz(int2);
8528char2 const_func __attribute__((overloadable)) convert_char2_rtp(int2);
8529char2 const_func __attribute__((overloadable)) convert_char2_sat_rtp(int2);
8530char2 const_func __attribute__((overloadable)) convert_char2_rtn(int2);
8531char2 const_func __attribute__((overloadable)) convert_char2_sat_rtn(int2);
8532char2 const_func __attribute__((overloadable)) convert_char2(int2);
8533char2 const_func __attribute__((overloadable)) convert_char2_sat(int2);
8534char2 const_func __attribute__((overloadable)) convert_char2_rte(uint2);
8535char2 const_func __attribute__((overloadable)) convert_char2_sat_rte(uint2);
8536char2 const_func __attribute__((overloadable)) convert_char2_rtz(uint2);
8537char2 const_func __attribute__((overloadable)) convert_char2_sat_rtz(uint2);
8538char2 const_func __attribute__((overloadable)) convert_char2_rtp(uint2);
8539char2 const_func __attribute__((overloadable)) convert_char2_sat_rtp(uint2);
8540char2 const_func __attribute__((overloadable)) convert_char2_rtn(uint2);
8541char2 const_func __attribute__((overloadable)) convert_char2_sat_rtn(uint2);
8542char2 const_func __attribute__((overloadable)) convert_char2(uint2);
8543char2 const_func __attribute__((overloadable)) convert_char2_sat(uint2);
8544char2 const_func __attribute__((overloadable)) convert_char2_rte(long2);
8545char2 const_func __attribute__((overloadable)) convert_char2_sat_rte(long2);
8546char2 const_func __attribute__((overloadable)) convert_char2_rtz(long2);
8547char2 const_func __attribute__((overloadable)) convert_char2_sat_rtz(long2);
8548char2 const_func __attribute__((overloadable)) convert_char2_rtp(long2);
8549char2 const_func __attribute__((overloadable)) convert_char2_sat_rtp(long2);
8550char2 const_func __attribute__((overloadable)) convert_char2_rtn(long2);
8551char2 const_func __attribute__((overloadable)) convert_char2_sat_rtn(long2);
8552char2 const_func __attribute__((overloadable)) convert_char2(long2);
8553char2 const_func __attribute__((overloadable)) convert_char2_sat(long2);
8554char2 const_func __attribute__((overloadable)) convert_char2_rte(ulong2);
8555char2 const_func __attribute__((overloadable)) convert_char2_sat_rte(ulong2);
8556char2 const_func __attribute__((overloadable)) convert_char2_rtz(ulong2);
8557char2 const_func __attribute__((overloadable)) convert_char2_sat_rtz(ulong2);
8558char2 const_func __attribute__((overloadable)) convert_char2_rtp(ulong2);
8559char2 const_func __attribute__((overloadable)) convert_char2_sat_rtp(ulong2);
8560char2 const_func __attribute__((overloadable)) convert_char2_rtn(ulong2);
8561char2 const_func __attribute__((overloadable)) convert_char2_sat_rtn(ulong2);
8562char2 const_func __attribute__((overloadable)) convert_char2(ulong2);
8563char2 const_func __attribute__((overloadable)) convert_char2_sat(ulong2);
8564char2 const_func __attribute__((overloadable)) convert_char2_rte(float2);
8565char2 const_func __attribute__((overloadable)) convert_char2_sat_rte(float2);
8566char2 const_func __attribute__((overloadable)) convert_char2_rtz(float2);
8567char2 const_func __attribute__((overloadable)) convert_char2_sat_rtz(float2);
8568char2 const_func __attribute__((overloadable)) convert_char2_rtp(float2);
8569char2 const_func __attribute__((overloadable)) convert_char2_sat_rtp(float2);
8570char2 const_func __attribute__((overloadable)) convert_char2_rtn(float2);
8571char2 const_func __attribute__((overloadable)) convert_char2_sat_rtn(float2);
8572char2 const_func __attribute__((overloadable)) convert_char2(float2);
8573char2 const_func __attribute__((overloadable)) convert_char2_sat(float2);
8574char2 const_func __attribute__((overloadable)) convert_char2_rte(double2);
8575char2 const_func __attribute__((overloadable)) convert_char2_sat_rte(double2);
8576char2 const_func __attribute__((overloadable)) convert_char2_rtz(double2);
8577char2 const_func __attribute__((overloadable)) convert_char2_sat_rtz(double2);
8578char2 const_func __attribute__((overloadable)) convert_char2_rtp(double2);
8579char2 const_func __attribute__((overloadable)) convert_char2_sat_rtp(double2);
8580char2 const_func __attribute__((overloadable)) convert_char2_rtn(double2);
8581char2 const_func __attribute__((overloadable)) convert_char2_sat_rtn(double2);
8582char2 const_func __attribute__((overloadable)) convert_char2(double2);
8583char2 const_func __attribute__((overloadable)) convert_char2_sat(double2);
8584
8585uchar2 const_func __attribute__((overloadable)) convert_uchar2_rte(char2);
8586uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rte(char2);
8587uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtz(char2);
8588uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtz(char2);
8589uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtp(char2);
8590uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtp(char2);
8591uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtn(char2);
8592uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtn(char2);
8593uchar2 const_func __attribute__((overloadable)) convert_uchar2(char2);
8594uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat(char2);
8595uchar2 const_func __attribute__((overloadable)) convert_uchar2_rte(uchar2);
8596uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rte(uchar2);
8597uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtz(uchar2);
8598uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtz(uchar2);
8599uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtp(uchar2);
8600uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtp(uchar2);
8601uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtn(uchar2);
8602uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtn(uchar2);
8603uchar2 const_func __attribute__((overloadable)) convert_uchar2(uchar2);
8604uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat(uchar2);
8605uchar2 const_func __attribute__((overloadable)) convert_uchar2_rte(short2);
8606uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rte(short2);
8607uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtz(short2);
8608uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtz(short2);
8609uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtp(short2);
8610uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtp(short2);
8611uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtn(short2);
8612uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtn(short2);
8613uchar2 const_func __attribute__((overloadable)) convert_uchar2(short2);
8614uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat(short2);
8615uchar2 const_func __attribute__((overloadable)) convert_uchar2_rte(ushort2);
8616uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rte(ushort2);
8617uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtz(ushort2);
8618uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtz(ushort2);
8619uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtp(ushort2);
8620uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtp(ushort2);
8621uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtn(ushort2);
8622uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtn(ushort2);
8623uchar2 const_func __attribute__((overloadable)) convert_uchar2(ushort2);
8624uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat(ushort2);
8625uchar2 const_func __attribute__((overloadable)) convert_uchar2_rte(int2);
8626uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rte(int2);
8627uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtz(int2);
8628uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtz(int2);
8629uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtp(int2);
8630uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtp(int2);
8631uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtn(int2);
8632uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtn(int2);
8633uchar2 const_func __attribute__((overloadable)) convert_uchar2(int2);
8634uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat(int2);
8635uchar2 const_func __attribute__((overloadable)) convert_uchar2_rte(uint2);
8636uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rte(uint2);
8637uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtz(uint2);
8638uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtz(uint2);
8639uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtp(uint2);
8640uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtp(uint2);
8641uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtn(uint2);
8642uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtn(uint2);
8643uchar2 const_func __attribute__((overloadable)) convert_uchar2(uint2);
8644uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat(uint2);
8645uchar2 const_func __attribute__((overloadable)) convert_uchar2_rte(long2);
8646uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rte(long2);
8647uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtz(long2);
8648uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtz(long2);
8649uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtp(long2);
8650uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtp(long2);
8651uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtn(long2);
8652uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtn(long2);
8653uchar2 const_func __attribute__((overloadable)) convert_uchar2(long2);
8654uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat(long2);
8655uchar2 const_func __attribute__((overloadable)) convert_uchar2_rte(ulong2);
8656uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rte(ulong2);
8657uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtz(ulong2);
8658uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtz(ulong2);
8659uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtp(ulong2);
8660uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtp(ulong2);
8661uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtn(ulong2);
8662uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtn(ulong2);
8663uchar2 const_func __attribute__((overloadable)) convert_uchar2(ulong2);
8664uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat(ulong2);
8665uchar2 const_func __attribute__((overloadable)) convert_uchar2_rte(float2);
8666uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rte(float2);
8667uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtz(float2);
8668uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtz(float2);
8669uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtp(float2);
8670uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtp(float2);
8671uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtn(float2);
8672uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtn(float2);
8673uchar2 const_func __attribute__((overloadable)) convert_uchar2(float2);
8674uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat(float2);
8675uchar2 const_func __attribute__((overloadable)) convert_uchar2_rte(double2);
8676uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rte(double2);
8677uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtz(double2);
8678uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtz(double2);
8679uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtp(double2);
8680uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtp(double2);
8681uchar2 const_func __attribute__((overloadable)) convert_uchar2_rtn(double2);
8682uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat_rtn(double2);
8683uchar2 const_func __attribute__((overloadable)) convert_uchar2(double2);
8684uchar2 const_func __attribute__((overloadable)) convert_uchar2_sat(double2);
8685
8686short2 const_func __attribute__((overloadable)) convert_short2_rte(char2);
8687short2 const_func __attribute__((overloadable)) convert_short2_sat_rte(char2);
8688short2 const_func __attribute__((overloadable)) convert_short2_rtz(char2);
8689short2 const_func __attribute__((overloadable)) convert_short2_sat_rtz(char2);
8690short2 const_func __attribute__((overloadable)) convert_short2_rtp(char2);
8691short2 const_func __attribute__((overloadable)) convert_short2_sat_rtp(char2);
8692short2 const_func __attribute__((overloadable)) convert_short2_rtn(char2);
8693short2 const_func __attribute__((overloadable)) convert_short2_sat_rtn(char2);
8694short2 const_func __attribute__((overloadable)) convert_short2(char2);
8695short2 const_func __attribute__((overloadable)) convert_short2_sat(char2);
8696short2 const_func __attribute__((overloadable)) convert_short2_rte(uchar2);
8697short2 const_func __attribute__((overloadable)) convert_short2_sat_rte(uchar2);
8698short2 const_func __attribute__((overloadable)) convert_short2_rtz(uchar2);
8699short2 const_func __attribute__((overloadable)) convert_short2_sat_rtz(uchar2);
8700short2 const_func __attribute__((overloadable)) convert_short2_rtp(uchar2);
8701short2 const_func __attribute__((overloadable)) convert_short2_sat_rtp(uchar2);
8702short2 const_func __attribute__((overloadable)) convert_short2_rtn(uchar2);
8703short2 const_func __attribute__((overloadable)) convert_short2_sat_rtn(uchar2);
8704short2 const_func __attribute__((overloadable)) convert_short2(uchar2);
8705short2 const_func __attribute__((overloadable)) convert_short2_sat(uchar2);
8706short2 const_func __attribute__((overloadable)) convert_short2_rte(short2);
8707short2 const_func __attribute__((overloadable)) convert_short2_sat_rte(short2);
8708short2 const_func __attribute__((overloadable)) convert_short2_rtz(short2);
8709short2 const_func __attribute__((overloadable)) convert_short2_sat_rtz(short2);
8710short2 const_func __attribute__((overloadable)) convert_short2_rtp(short2);
8711short2 const_func __attribute__((overloadable)) convert_short2_sat_rtp(short2);
8712short2 const_func __attribute__((overloadable)) convert_short2_rtn(short2);
8713short2 const_func __attribute__((overloadable)) convert_short2_sat_rtn(short2);
8714short2 const_func __attribute__((overloadable)) convert_short2(short2);
8715short2 const_func __attribute__((overloadable)) convert_short2_sat(short2);
8716short2 const_func __attribute__((overloadable)) convert_short2_rte(ushort2);
8717short2 const_func __attribute__((overloadable)) convert_short2_sat_rte(ushort2);
8718short2 const_func __attribute__((overloadable)) convert_short2_rtz(ushort2);
8719short2 const_func __attribute__((overloadable)) convert_short2_sat_rtz(ushort2);
8720short2 const_func __attribute__((overloadable)) convert_short2_rtp(ushort2);
8721short2 const_func __attribute__((overloadable)) convert_short2_sat_rtp(ushort2);
8722short2 const_func __attribute__((overloadable)) convert_short2_rtn(ushort2);
8723short2 const_func __attribute__((overloadable)) convert_short2_sat_rtn(ushort2);
8724short2 const_func __attribute__((overloadable)) convert_short2(ushort2);
8725short2 const_func __attribute__((overloadable)) convert_short2_sat(ushort2);
8726short2 const_func __attribute__((overloadable)) convert_short2_rte(int2);
8727short2 const_func __attribute__((overloadable)) convert_short2_sat_rte(int2);
8728short2 const_func __attribute__((overloadable)) convert_short2_rtz(int2);
8729short2 const_func __attribute__((overloadable)) convert_short2_sat_rtz(int2);
8730short2 const_func __attribute__((overloadable)) convert_short2_rtp(int2);
8731short2 const_func __attribute__((overloadable)) convert_short2_sat_rtp(int2);
8732short2 const_func __attribute__((overloadable)) convert_short2_rtn(int2);
8733short2 const_func __attribute__((overloadable)) convert_short2_sat_rtn(int2);
8734short2 const_func __attribute__((overloadable)) convert_short2(int2);
8735short2 const_func __attribute__((overloadable)) convert_short2_sat(int2);
8736short2 const_func __attribute__((overloadable)) convert_short2_rte(uint2);
8737short2 const_func __attribute__((overloadable)) convert_short2_sat_rte(uint2);
8738short2 const_func __attribute__((overloadable)) convert_short2_rtz(uint2);
8739short2 const_func __attribute__((overloadable)) convert_short2_sat_rtz(uint2);
8740short2 const_func __attribute__((overloadable)) convert_short2_rtp(uint2);
8741short2 const_func __attribute__((overloadable)) convert_short2_sat_rtp(uint2);
8742short2 const_func __attribute__((overloadable)) convert_short2_rtn(uint2);
8743short2 const_func __attribute__((overloadable)) convert_short2_sat_rtn(uint2);
8744short2 const_func __attribute__((overloadable)) convert_short2(uint2);
8745short2 const_func __attribute__((overloadable)) convert_short2_sat(uint2);
8746short2 const_func __attribute__((overloadable)) convert_short2_rte(long2);
8747short2 const_func __attribute__((overloadable)) convert_short2_sat_rte(long2);
8748short2 const_func __attribute__((overloadable)) convert_short2_rtz(long2);
8749short2 const_func __attribute__((overloadable)) convert_short2_sat_rtz(long2);
8750short2 const_func __attribute__((overloadable)) convert_short2_rtp(long2);
8751short2 const_func __attribute__((overloadable)) convert_short2_sat_rtp(long2);
8752short2 const_func __attribute__((overloadable)) convert_short2_rtn(long2);
8753short2 const_func __attribute__((overloadable)) convert_short2_sat_rtn(long2);
8754short2 const_func __attribute__((overloadable)) convert_short2(long2);
8755short2 const_func __attribute__((overloadable)) convert_short2_sat(long2);
8756short2 const_func __attribute__((overloadable)) convert_short2_rte(ulong2);
8757short2 const_func __attribute__((overloadable)) convert_short2_sat_rte(ulong2);
8758short2 const_func __attribute__((overloadable)) convert_short2_rtz(ulong2);
8759short2 const_func __attribute__((overloadable)) convert_short2_sat_rtz(ulong2);
8760short2 const_func __attribute__((overloadable)) convert_short2_rtp(ulong2);
8761short2 const_func __attribute__((overloadable)) convert_short2_sat_rtp(ulong2);
8762short2 const_func __attribute__((overloadable)) convert_short2_rtn(ulong2);
8763short2 const_func __attribute__((overloadable)) convert_short2_sat_rtn(ulong2);
8764short2 const_func __attribute__((overloadable)) convert_short2(ulong2);
8765short2 const_func __attribute__((overloadable)) convert_short2_sat(ulong2);
8766short2 const_func __attribute__((overloadable)) convert_short2_rte(float2);
8767short2 const_func __attribute__((overloadable)) convert_short2_sat_rte(float2);
8768short2 const_func __attribute__((overloadable)) convert_short2_rtz(float2);
8769short2 const_func __attribute__((overloadable)) convert_short2_sat_rtz(float2);
8770short2 const_func __attribute__((overloadable)) convert_short2_rtp(float2);
8771short2 const_func __attribute__((overloadable)) convert_short2_sat_rtp(float2);
8772short2 const_func __attribute__((overloadable)) convert_short2_rtn(float2);
8773short2 const_func __attribute__((overloadable)) convert_short2_sat_rtn(float2);
8774short2 const_func __attribute__((overloadable)) convert_short2(float2);
8775short2 const_func __attribute__((overloadable)) convert_short2_sat(float2);
8776short2 const_func __attribute__((overloadable)) convert_short2_rte(double2);
8777short2 const_func __attribute__((overloadable)) convert_short2_sat_rte(double2);
8778short2 const_func __attribute__((overloadable)) convert_short2_rtz(double2);
8779short2 const_func __attribute__((overloadable)) convert_short2_sat_rtz(double2);
8780short2 const_func __attribute__((overloadable)) convert_short2_rtp(double2);
8781short2 const_func __attribute__((overloadable)) convert_short2_sat_rtp(double2);
8782short2 const_func __attribute__((overloadable)) convert_short2_rtn(double2);
8783short2 const_func __attribute__((overloadable)) convert_short2_sat_rtn(double2);
8784short2 const_func __attribute__((overloadable)) convert_short2(double2);
8785short2 const_func __attribute__((overloadable)) convert_short2_sat(double2);
8786
8787ushort2 const_func __attribute__((overloadable)) convert_ushort2_rte(char2);
8788ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rte(char2);
8789ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtz(char2);
8790ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtz(char2);
8791ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtp(char2);
8792ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtp(char2);
8793ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtn(char2);
8794ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtn(char2);
8795ushort2 const_func __attribute__((overloadable)) convert_ushort2(char2);
8796ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat(char2);
8797ushort2 const_func __attribute__((overloadable)) convert_ushort2_rte(uchar2);
8798ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rte(uchar2);
8799ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtz(uchar2);
8800ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtz(uchar2);
8801ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtp(uchar2);
8802ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtp(uchar2);
8803ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtn(uchar2);
8804ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtn(uchar2);
8805ushort2 const_func __attribute__((overloadable)) convert_ushort2(uchar2);
8806ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat(uchar2);
8807ushort2 const_func __attribute__((overloadable)) convert_ushort2_rte(short2);
8808ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rte(short2);
8809ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtz(short2);
8810ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtz(short2);
8811ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtp(short2);
8812ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtp(short2);
8813ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtn(short2);
8814ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtn(short2);
8815ushort2 const_func __attribute__((overloadable)) convert_ushort2(short2);
8816ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat(short2);
8817ushort2 const_func __attribute__((overloadable)) convert_ushort2_rte(ushort2);
8818ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rte(ushort2);
8819ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtz(ushort2);
8820ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtz(ushort2);
8821ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtp(ushort2);
8822ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtp(ushort2);
8823ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtn(ushort2);
8824ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtn(ushort2);
8825ushort2 const_func __attribute__((overloadable)) convert_ushort2(ushort2);
8826ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat(ushort2);
8827ushort2 const_func __attribute__((overloadable)) convert_ushort2_rte(int2);
8828ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rte(int2);
8829ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtz(int2);
8830ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtz(int2);
8831ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtp(int2);
8832ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtp(int2);
8833ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtn(int2);
8834ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtn(int2);
8835ushort2 const_func __attribute__((overloadable)) convert_ushort2(int2);
8836ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat(int2);
8837ushort2 const_func __attribute__((overloadable)) convert_ushort2_rte(uint2);
8838ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rte(uint2);
8839ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtz(uint2);
8840ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtz(uint2);
8841ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtp(uint2);
8842ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtp(uint2);
8843ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtn(uint2);
8844ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtn(uint2);
8845ushort2 const_func __attribute__((overloadable)) convert_ushort2(uint2);
8846ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat(uint2);
8847ushort2 const_func __attribute__((overloadable)) convert_ushort2_rte(long2);
8848ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rte(long2);
8849ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtz(long2);
8850ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtz(long2);
8851ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtp(long2);
8852ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtp(long2);
8853ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtn(long2);
8854ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtn(long2);
8855ushort2 const_func __attribute__((overloadable)) convert_ushort2(long2);
8856ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat(long2);
8857ushort2 const_func __attribute__((overloadable)) convert_ushort2_rte(ulong2);
8858ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rte(ulong2);
8859ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtz(ulong2);
8860ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtz(ulong2);
8861ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtp(ulong2);
8862ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtp(ulong2);
8863ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtn(ulong2);
8864ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtn(ulong2);
8865ushort2 const_func __attribute__((overloadable)) convert_ushort2(ulong2);
8866ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat(ulong2);
8867ushort2 const_func __attribute__((overloadable)) convert_ushort2_rte(float2);
8868ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rte(float2);
8869ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtz(float2);
8870ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtz(float2);
8871ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtp(float2);
8872ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtp(float2);
8873ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtn(float2);
8874ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtn(float2);
8875ushort2 const_func __attribute__((overloadable)) convert_ushort2(float2);
8876ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat(float2);
8877ushort2 const_func __attribute__((overloadable)) convert_ushort2_rte(double2);
8878ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rte(double2);
8879ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtz(double2);
8880ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtz(double2);
8881ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtp(double2);
8882ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtp(double2);
8883ushort2 const_func __attribute__((overloadable)) convert_ushort2_rtn(double2);
8884ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat_rtn(double2);
8885ushort2 const_func __attribute__((overloadable)) convert_ushort2(double2);
8886ushort2 const_func __attribute__((overloadable)) convert_ushort2_sat(double2);
8887
8888int2 const_func __attribute__((overloadable)) convert_int2_rte(char2);
8889int2 const_func __attribute__((overloadable)) convert_int2_sat_rte(char2);
8890int2 const_func __attribute__((overloadable)) convert_int2_rtz(char2);
8891int2 const_func __attribute__((overloadable)) convert_int2_sat_rtz(char2);
8892int2 const_func __attribute__((overloadable)) convert_int2_rtp(char2);
8893int2 const_func __attribute__((overloadable)) convert_int2_sat_rtp(char2);
8894int2 const_func __attribute__((overloadable)) convert_int2_rtn(char2);
8895int2 const_func __attribute__((overloadable)) convert_int2_sat_rtn(char2);
8896int2 const_func __attribute__((overloadable)) convert_int2(char2);
8897int2 const_func __attribute__((overloadable)) convert_int2_sat(char2);
8898int2 const_func __attribute__((overloadable)) convert_int2_rte(uchar2);
8899int2 const_func __attribute__((overloadable)) convert_int2_sat_rte(uchar2);
8900int2 const_func __attribute__((overloadable)) convert_int2_rtz(uchar2);
8901int2 const_func __attribute__((overloadable)) convert_int2_sat_rtz(uchar2);
8902int2 const_func __attribute__((overloadable)) convert_int2_rtp(uchar2);
8903int2 const_func __attribute__((overloadable)) convert_int2_sat_rtp(uchar2);
8904int2 const_func __attribute__((overloadable)) convert_int2_rtn(uchar2);
8905int2 const_func __attribute__((overloadable)) convert_int2_sat_rtn(uchar2);
8906int2 const_func __attribute__((overloadable)) convert_int2(uchar2);
8907int2 const_func __attribute__((overloadable)) convert_int2_sat(uchar2);
8908int2 const_func __attribute__((overloadable)) convert_int2_rte(short2);
8909int2 const_func __attribute__((overloadable)) convert_int2_sat_rte(short2);
8910int2 const_func __attribute__((overloadable)) convert_int2_rtz(short2);
8911int2 const_func __attribute__((overloadable)) convert_int2_sat_rtz(short2);
8912int2 const_func __attribute__((overloadable)) convert_int2_rtp(short2);
8913int2 const_func __attribute__((overloadable)) convert_int2_sat_rtp(short2);
8914int2 const_func __attribute__((overloadable)) convert_int2_rtn(short2);
8915int2 const_func __attribute__((overloadable)) convert_int2_sat_rtn(short2);
8916int2 const_func __attribute__((overloadable)) convert_int2(short2);
8917int2 const_func __attribute__((overloadable)) convert_int2_sat(short2);
8918int2 const_func __attribute__((overloadable)) convert_int2_rte(ushort2);
8919int2 const_func __attribute__((overloadable)) convert_int2_sat_rte(ushort2);
8920int2 const_func __attribute__((overloadable)) convert_int2_rtz(ushort2);
8921int2 const_func __attribute__((overloadable)) convert_int2_sat_rtz(ushort2);
8922int2 const_func __attribute__((overloadable)) convert_int2_rtp(ushort2);
8923int2 const_func __attribute__((overloadable)) convert_int2_sat_rtp(ushort2);
8924int2 const_func __attribute__((overloadable)) convert_int2_rtn(ushort2);
8925int2 const_func __attribute__((overloadable)) convert_int2_sat_rtn(ushort2);
8926int2 const_func __attribute__((overloadable)) convert_int2(ushort2);
8927int2 const_func __attribute__((overloadable)) convert_int2_sat(ushort2);
8928int2 const_func __attribute__((overloadable)) convert_int2_rte(int2);
8929int2 const_func __attribute__((overloadable)) convert_int2_sat_rte(int2);
8930int2 const_func __attribute__((overloadable)) convert_int2_rtz(int2);
8931int2 const_func __attribute__((overloadable)) convert_int2_sat_rtz(int2);
8932int2 const_func __attribute__((overloadable)) convert_int2_rtp(int2);
8933int2 const_func __attribute__((overloadable)) convert_int2_sat_rtp(int2);
8934int2 const_func __attribute__((overloadable)) convert_int2_rtn(int2);
8935int2 const_func __attribute__((overloadable)) convert_int2_sat_rtn(int2);
8936int2 const_func __attribute__((overloadable)) convert_int2(int2);
8937int2 const_func __attribute__((overloadable)) convert_int2_sat(int2);
8938int2 const_func __attribute__((overloadable)) convert_int2_rte(uint2);
8939int2 const_func __attribute__((overloadable)) convert_int2_sat_rte(uint2);
8940int2 const_func __attribute__((overloadable)) convert_int2_rtz(uint2);
8941int2 const_func __attribute__((overloadable)) convert_int2_sat_rtz(uint2);
8942int2 const_func __attribute__((overloadable)) convert_int2_rtp(uint2);
8943int2 const_func __attribute__((overloadable)) convert_int2_sat_rtp(uint2);
8944int2 const_func __attribute__((overloadable)) convert_int2_rtn(uint2);
8945int2 const_func __attribute__((overloadable)) convert_int2_sat_rtn(uint2);
8946int2 const_func __attribute__((overloadable)) convert_int2(uint2);
8947int2 const_func __attribute__((overloadable)) convert_int2_sat(uint2);
8948int2 const_func __attribute__((overloadable)) convert_int2_rte(long2);
8949int2 const_func __attribute__((overloadable)) convert_int2_sat_rte(long2);
8950int2 const_func __attribute__((overloadable)) convert_int2_rtz(long2);
8951int2 const_func __attribute__((overloadable)) convert_int2_sat_rtz(long2);
8952int2 const_func __attribute__((overloadable)) convert_int2_rtp(long2);
8953int2 const_func __attribute__((overloadable)) convert_int2_sat_rtp(long2);
8954int2 const_func __attribute__((overloadable)) convert_int2_rtn(long2);
8955int2 const_func __attribute__((overloadable)) convert_int2_sat_rtn(long2);
8956int2 const_func __attribute__((overloadable)) convert_int2(long2);
8957int2 const_func __attribute__((overloadable)) convert_int2_sat(long2);
8958int2 const_func __attribute__((overloadable)) convert_int2_rte(ulong2);
8959int2 const_func __attribute__((overloadable)) convert_int2_sat_rte(ulong2);
8960int2 const_func __attribute__((overloadable)) convert_int2_rtz(ulong2);
8961int2 const_func __attribute__((overloadable)) convert_int2_sat_rtz(ulong2);
8962int2 const_func __attribute__((overloadable)) convert_int2_rtp(ulong2);
8963int2 const_func __attribute__((overloadable)) convert_int2_sat_rtp(ulong2);
8964int2 const_func __attribute__((overloadable)) convert_int2_rtn(ulong2);
8965int2 const_func __attribute__((overloadable)) convert_int2_sat_rtn(ulong2);
8966int2 const_func __attribute__((overloadable)) convert_int2(ulong2);
8967int2 const_func __attribute__((overloadable)) convert_int2_sat(ulong2);
8968int2 const_func __attribute__((overloadable)) convert_int2_rte(float2);
8969int2 const_func __attribute__((overloadable)) convert_int2_sat_rte(float2);
8970int2 const_func __attribute__((overloadable)) convert_int2_rtz(float2);
8971int2 const_func __attribute__((overloadable)) convert_int2_sat_rtz(float2);
8972int2 const_func __attribute__((overloadable)) convert_int2_rtp(float2);
8973int2 const_func __attribute__((overloadable)) convert_int2_sat_rtp(float2);
8974int2 const_func __attribute__((overloadable)) convert_int2_rtn(float2);
8975int2 const_func __attribute__((overloadable)) convert_int2_sat_rtn(float2);
8976int2 const_func __attribute__((overloadable)) convert_int2(float2);
8977int2 const_func __attribute__((overloadable)) convert_int2_sat(float2);
8978int2 const_func __attribute__((overloadable)) convert_int2_rte(double2);
8979int2 const_func __attribute__((overloadable)) convert_int2_sat_rte(double2);
8980int2 const_func __attribute__((overloadable)) convert_int2_rtz(double2);
8981int2 const_func __attribute__((overloadable)) convert_int2_sat_rtz(double2);
8982int2 const_func __attribute__((overloadable)) convert_int2_rtp(double2);
8983int2 const_func __attribute__((overloadable)) convert_int2_sat_rtp(double2);
8984int2 const_func __attribute__((overloadable)) convert_int2_rtn(double2);
8985int2 const_func __attribute__((overloadable)) convert_int2_sat_rtn(double2);
8986int2 const_func __attribute__((overloadable)) convert_int2(double2);
8987int2 const_func __attribute__((overloadable)) convert_int2_sat(double2);
8988
8989uint2 const_func __attribute__((overloadable)) convert_uint2_rte(char2);
8990uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rte(char2);
8991uint2 const_func __attribute__((overloadable)) convert_uint2_rtz(char2);
8992uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtz(char2);
8993uint2 const_func __attribute__((overloadable)) convert_uint2_rtp(char2);
8994uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtp(char2);
8995uint2 const_func __attribute__((overloadable)) convert_uint2_rtn(char2);
8996uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtn(char2);
8997uint2 const_func __attribute__((overloadable)) convert_uint2(char2);
8998uint2 const_func __attribute__((overloadable)) convert_uint2_sat(char2);
8999uint2 const_func __attribute__((overloadable)) convert_uint2_rte(uchar2);
9000uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rte(uchar2);
9001uint2 const_func __attribute__((overloadable)) convert_uint2_rtz(uchar2);
9002uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtz(uchar2);
9003uint2 const_func __attribute__((overloadable)) convert_uint2_rtp(uchar2);
9004uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtp(uchar2);
9005uint2 const_func __attribute__((overloadable)) convert_uint2_rtn(uchar2);
9006uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtn(uchar2);
9007uint2 const_func __attribute__((overloadable)) convert_uint2(uchar2);
9008uint2 const_func __attribute__((overloadable)) convert_uint2_sat(uchar2);
9009uint2 const_func __attribute__((overloadable)) convert_uint2_rte(short2);
9010uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rte(short2);
9011uint2 const_func __attribute__((overloadable)) convert_uint2_rtz(short2);
9012uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtz(short2);
9013uint2 const_func __attribute__((overloadable)) convert_uint2_rtp(short2);
9014uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtp(short2);
9015uint2 const_func __attribute__((overloadable)) convert_uint2_rtn(short2);
9016uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtn(short2);
9017uint2 const_func __attribute__((overloadable)) convert_uint2(short2);
9018uint2 const_func __attribute__((overloadable)) convert_uint2_sat(short2);
9019uint2 const_func __attribute__((overloadable)) convert_uint2_rte(ushort2);
9020uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rte(ushort2);
9021uint2 const_func __attribute__((overloadable)) convert_uint2_rtz(ushort2);
9022uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtz(ushort2);
9023uint2 const_func __attribute__((overloadable)) convert_uint2_rtp(ushort2);
9024uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtp(ushort2);
9025uint2 const_func __attribute__((overloadable)) convert_uint2_rtn(ushort2);
9026uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtn(ushort2);
9027uint2 const_func __attribute__((overloadable)) convert_uint2(ushort2);
9028uint2 const_func __attribute__((overloadable)) convert_uint2_sat(ushort2);
9029uint2 const_func __attribute__((overloadable)) convert_uint2_rte(int2);
9030uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rte(int2);
9031uint2 const_func __attribute__((overloadable)) convert_uint2_rtz(int2);
9032uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtz(int2);
9033uint2 const_func __attribute__((overloadable)) convert_uint2_rtp(int2);
9034uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtp(int2);
9035uint2 const_func __attribute__((overloadable)) convert_uint2_rtn(int2);
9036uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtn(int2);
9037uint2 const_func __attribute__((overloadable)) convert_uint2(int2);
9038uint2 const_func __attribute__((overloadable)) convert_uint2_sat(int2);
9039uint2 const_func __attribute__((overloadable)) convert_uint2_rte(uint2);
9040uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rte(uint2);
9041uint2 const_func __attribute__((overloadable)) convert_uint2_rtz(uint2);
9042uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtz(uint2);
9043uint2 const_func __attribute__((overloadable)) convert_uint2_rtp(uint2);
9044uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtp(uint2);
9045uint2 const_func __attribute__((overloadable)) convert_uint2_rtn(uint2);
9046uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtn(uint2);
9047uint2 const_func __attribute__((overloadable)) convert_uint2(uint2);
9048uint2 const_func __attribute__((overloadable)) convert_uint2_sat(uint2);
9049uint2 const_func __attribute__((overloadable)) convert_uint2_rte(long2);
9050uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rte(long2);
9051uint2 const_func __attribute__((overloadable)) convert_uint2_rtz(long2);
9052uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtz(long2);
9053uint2 const_func __attribute__((overloadable)) convert_uint2_rtp(long2);
9054uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtp(long2);
9055uint2 const_func __attribute__((overloadable)) convert_uint2_rtn(long2);
9056uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtn(long2);
9057uint2 const_func __attribute__((overloadable)) convert_uint2(long2);
9058uint2 const_func __attribute__((overloadable)) convert_uint2_sat(long2);
9059uint2 const_func __attribute__((overloadable)) convert_uint2_rte(ulong2);
9060uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rte(ulong2);
9061uint2 const_func __attribute__((overloadable)) convert_uint2_rtz(ulong2);
9062uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtz(ulong2);
9063uint2 const_func __attribute__((overloadable)) convert_uint2_rtp(ulong2);
9064uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtp(ulong2);
9065uint2 const_func __attribute__((overloadable)) convert_uint2_rtn(ulong2);
9066uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtn(ulong2);
9067uint2 const_func __attribute__((overloadable)) convert_uint2(ulong2);
9068uint2 const_func __attribute__((overloadable)) convert_uint2_sat(ulong2);
9069uint2 const_func __attribute__((overloadable)) convert_uint2_rte(float2);
9070uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rte(float2);
9071uint2 const_func __attribute__((overloadable)) convert_uint2_rtz(float2);
9072uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtz(float2);
9073uint2 const_func __attribute__((overloadable)) convert_uint2_rtp(float2);
9074uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtp(float2);
9075uint2 const_func __attribute__((overloadable)) convert_uint2_rtn(float2);
9076uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtn(float2);
9077uint2 const_func __attribute__((overloadable)) convert_uint2(float2);
9078uint2 const_func __attribute__((overloadable)) convert_uint2_sat(float2);
9079uint2 const_func __attribute__((overloadable)) convert_uint2_rte(double2);
9080uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rte(double2);
9081uint2 const_func __attribute__((overloadable)) convert_uint2_rtz(double2);
9082uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtz(double2);
9083uint2 const_func __attribute__((overloadable)) convert_uint2_rtp(double2);
9084uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtp(double2);
9085uint2 const_func __attribute__((overloadable)) convert_uint2_rtn(double2);
9086uint2 const_func __attribute__((overloadable)) convert_uint2_sat_rtn(double2);
9087uint2 const_func __attribute__((overloadable)) convert_uint2(double2);
9088uint2 const_func __attribute__((overloadable)) convert_uint2_sat(double2);
9089long2 const_func __attribute__((overloadable)) convert_long2_rte(char2);
9090long2 const_func __attribute__((overloadable)) convert_long2_sat_rte(char2);
9091long2 const_func __attribute__((overloadable)) convert_long2_rtz(char2);
9092long2 const_func __attribute__((overloadable)) convert_long2_sat_rtz(char2);
9093long2 const_func __attribute__((overloadable)) convert_long2_rtp(char2);
9094long2 const_func __attribute__((overloadable)) convert_long2_sat_rtp(char2);
9095long2 const_func __attribute__((overloadable)) convert_long2_rtn(char2);
9096long2 const_func __attribute__((overloadable)) convert_long2_sat_rtn(char2);
9097long2 const_func __attribute__((overloadable)) convert_long2(char2);
9098long2 const_func __attribute__((overloadable)) convert_long2_sat(char2);
9099long2 const_func __attribute__((overloadable)) convert_long2_rte(uchar2);
9100long2 const_func __attribute__((overloadable)) convert_long2_sat_rte(uchar2);
9101long2 const_func __attribute__((overloadable)) convert_long2_rtz(uchar2);
9102long2 const_func __attribute__((overloadable)) convert_long2_sat_rtz(uchar2);
9103long2 const_func __attribute__((overloadable)) convert_long2_rtp(uchar2);
9104long2 const_func __attribute__((overloadable)) convert_long2_sat_rtp(uchar2);
9105long2 const_func __attribute__((overloadable)) convert_long2_rtn(uchar2);
9106long2 const_func __attribute__((overloadable)) convert_long2_sat_rtn(uchar2);
9107long2 const_func __attribute__((overloadable)) convert_long2(uchar2);
9108long2 const_func __attribute__((overloadable)) convert_long2_sat(uchar2);
9109long2 const_func __attribute__((overloadable)) convert_long2_rte(short2);
9110long2 const_func __attribute__((overloadable)) convert_long2_sat_rte(short2);
9111long2 const_func __attribute__((overloadable)) convert_long2_rtz(short2);
9112long2 const_func __attribute__((overloadable)) convert_long2_sat_rtz(short2);
9113long2 const_func __attribute__((overloadable)) convert_long2_rtp(short2);
9114long2 const_func __attribute__((overloadable)) convert_long2_sat_rtp(short2);
9115long2 const_func __attribute__((overloadable)) convert_long2_rtn(short2);
9116long2 const_func __attribute__((overloadable)) convert_long2_sat_rtn(short2);
9117long2 const_func __attribute__((overloadable)) convert_long2(short2);
9118long2 const_func __attribute__((overloadable)) convert_long2_sat(short2);
9119long2 const_func __attribute__((overloadable)) convert_long2_rte(ushort2);
9120long2 const_func __attribute__((overloadable)) convert_long2_sat_rte(ushort2);
9121long2 const_func __attribute__((overloadable)) convert_long2_rtz(ushort2);
9122long2 const_func __attribute__((overloadable)) convert_long2_sat_rtz(ushort2);
9123long2 const_func __attribute__((overloadable)) convert_long2_rtp(ushort2);
9124long2 const_func __attribute__((overloadable)) convert_long2_sat_rtp(ushort2);
9125long2 const_func __attribute__((overloadable)) convert_long2_rtn(ushort2);
9126long2 const_func __attribute__((overloadable)) convert_long2_sat_rtn(ushort2);
9127long2 const_func __attribute__((overloadable)) convert_long2(ushort2);
9128long2 const_func __attribute__((overloadable)) convert_long2_sat(ushort2);
9129long2 const_func __attribute__((overloadable)) convert_long2_rte(int2);
9130long2 const_func __attribute__((overloadable)) convert_long2_sat_rte(int2);
9131long2 const_func __attribute__((overloadable)) convert_long2_rtz(int2);
9132long2 const_func __attribute__((overloadable)) convert_long2_sat_rtz(int2);
9133long2 const_func __attribute__((overloadable)) convert_long2_rtp(int2);
9134long2 const_func __attribute__((overloadable)) convert_long2_sat_rtp(int2);
9135long2 const_func __attribute__((overloadable)) convert_long2_rtn(int2);
9136long2 const_func __attribute__((overloadable)) convert_long2_sat_rtn(int2);
9137long2 const_func __attribute__((overloadable)) convert_long2(int2);
9138long2 const_func __attribute__((overloadable)) convert_long2_sat(int2);
9139long2 const_func __attribute__((overloadable)) convert_long2_rte(uint2);
9140long2 const_func __attribute__((overloadable)) convert_long2_sat_rte(uint2);
9141long2 const_func __attribute__((overloadable)) convert_long2_rtz(uint2);
9142long2 const_func __attribute__((overloadable)) convert_long2_sat_rtz(uint2);
9143long2 const_func __attribute__((overloadable)) convert_long2_rtp(uint2);
9144long2 const_func __attribute__((overloadable)) convert_long2_sat_rtp(uint2);
9145long2 const_func __attribute__((overloadable)) convert_long2_rtn(uint2);
9146long2 const_func __attribute__((overloadable)) convert_long2_sat_rtn(uint2);
9147long2 const_func __attribute__((overloadable)) convert_long2(uint2);
9148long2 const_func __attribute__((overloadable)) convert_long2_sat(uint2);
9149long2 const_func __attribute__((overloadable)) convert_long2_rte(long2);
9150long2 const_func __attribute__((overloadable)) convert_long2_sat_rte(long2);
9151long2 const_func __attribute__((overloadable)) convert_long2_rtz(long2);
9152long2 const_func __attribute__((overloadable)) convert_long2_sat_rtz(long2);
9153long2 const_func __attribute__((overloadable)) convert_long2_rtp(long2);
9154long2 const_func __attribute__((overloadable)) convert_long2_sat_rtp(long2);
9155long2 const_func __attribute__((overloadable)) convert_long2_rtn(long2);
9156long2 const_func __attribute__((overloadable)) convert_long2_sat_rtn(long2);
9157long2 const_func __attribute__((overloadable)) convert_long2(long2);
9158long2 const_func __attribute__((overloadable)) convert_long2_sat(long2);
9159long2 const_func __attribute__((overloadable)) convert_long2_rte(ulong2);
9160long2 const_func __attribute__((overloadable)) convert_long2_sat_rte(ulong2);
9161long2 const_func __attribute__((overloadable)) convert_long2_rtz(ulong2);
9162long2 const_func __attribute__((overloadable)) convert_long2_sat_rtz(ulong2);
9163long2 const_func __attribute__((overloadable)) convert_long2_rtp(ulong2);
9164long2 const_func __attribute__((overloadable)) convert_long2_sat_rtp(ulong2);
9165long2 const_func __attribute__((overloadable)) convert_long2_rtn(ulong2);
9166long2 const_func __attribute__((overloadable)) convert_long2_sat_rtn(ulong2);
9167long2 const_func __attribute__((overloadable)) convert_long2(ulong2);
9168long2 const_func __attribute__((overloadable)) convert_long2_sat(ulong2);
9169long2 const_func __attribute__((overloadable)) convert_long2_rte(float2);
9170long2 const_func __attribute__((overloadable)) convert_long2_sat_rte(float2);
9171long2 const_func __attribute__((overloadable)) convert_long2_rtz(float2);
9172long2 const_func __attribute__((overloadable)) convert_long2_sat_rtz(float2);
9173long2 const_func __attribute__((overloadable)) convert_long2_rtp(float2);
9174long2 const_func __attribute__((overloadable)) convert_long2_sat_rtp(float2);
9175long2 const_func __attribute__((overloadable)) convert_long2_rtn(float2);
9176long2 const_func __attribute__((overloadable)) convert_long2_sat_rtn(float2);
9177long2 const_func __attribute__((overloadable)) convert_long2(float2);
9178long2 const_func __attribute__((overloadable)) convert_long2_sat(float2);
9179long2 const_func __attribute__((overloadable)) convert_long2_rte(double2);
9180long2 const_func __attribute__((overloadable)) convert_long2_sat_rte(double2);
9181long2 const_func __attribute__((overloadable)) convert_long2_rtz(double2);
9182long2 const_func __attribute__((overloadable)) convert_long2_sat_rtz(double2);
9183long2 const_func __attribute__((overloadable)) convert_long2_rtp(double2);
9184long2 const_func __attribute__((overloadable)) convert_long2_sat_rtp(double2);
9185long2 const_func __attribute__((overloadable)) convert_long2_rtn(double2);
9186long2 const_func __attribute__((overloadable)) convert_long2_sat_rtn(double2);
9187long2 const_func __attribute__((overloadable)) convert_long2(double2);
9188long2 const_func __attribute__((overloadable)) convert_long2_sat(double2);
9189
9190ulong2 const_func __attribute__((overloadable)) convert_ulong2_rte(char2);
9191ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rte(char2);
9192ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtz(char2);
9193ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtz(char2);
9194ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtp(char2);
9195ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtp(char2);
9196ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtn(char2);
9197ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtn(char2);
9198ulong2 const_func __attribute__((overloadable)) convert_ulong2(char2);
9199ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat(char2);
9200ulong2 const_func __attribute__((overloadable)) convert_ulong2_rte(uchar2);
9201ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rte(uchar2);
9202ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtz(uchar2);
9203ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtz(uchar2);
9204ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtp(uchar2);
9205ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtp(uchar2);
9206ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtn(uchar2);
9207ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtn(uchar2);
9208ulong2 const_func __attribute__((overloadable)) convert_ulong2(uchar2);
9209ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat(uchar2);
9210ulong2 const_func __attribute__((overloadable)) convert_ulong2_rte(short2);
9211ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rte(short2);
9212ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtz(short2);
9213ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtz(short2);
9214ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtp(short2);
9215ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtp(short2);
9216ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtn(short2);
9217ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtn(short2);
9218ulong2 const_func __attribute__((overloadable)) convert_ulong2(short2);
9219ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat(short2);
9220ulong2 const_func __attribute__((overloadable)) convert_ulong2_rte(ushort2);
9221ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rte(ushort2);
9222ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtz(ushort2);
9223ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtz(ushort2);
9224ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtp(ushort2);
9225ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtp(ushort2);
9226ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtn(ushort2);
9227ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtn(ushort2);
9228ulong2 const_func __attribute__((overloadable)) convert_ulong2(ushort2);
9229ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat(ushort2);
9230ulong2 const_func __attribute__((overloadable)) convert_ulong2_rte(int2);
9231ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rte(int2);
9232ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtz(int2);
9233ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtz(int2);
9234ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtp(int2);
9235ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtp(int2);
9236ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtn(int2);
9237ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtn(int2);
9238ulong2 const_func __attribute__((overloadable)) convert_ulong2(int2);
9239ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat(int2);
9240ulong2 const_func __attribute__((overloadable)) convert_ulong2_rte(uint2);
9241ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rte(uint2);
9242ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtz(uint2);
9243ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtz(uint2);
9244ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtp(uint2);
9245ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtp(uint2);
9246ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtn(uint2);
9247ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtn(uint2);
9248ulong2 const_func __attribute__((overloadable)) convert_ulong2(uint2);
9249ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat(uint2);
9250ulong2 const_func __attribute__((overloadable)) convert_ulong2_rte(long2);
9251ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rte(long2);
9252ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtz(long2);
9253ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtz(long2);
9254ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtp(long2);
9255ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtp(long2);
9256ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtn(long2);
9257ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtn(long2);
9258ulong2 const_func __attribute__((overloadable)) convert_ulong2(long2);
9259ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat(long2);
9260ulong2 const_func __attribute__((overloadable)) convert_ulong2_rte(ulong2);
9261ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rte(ulong2);
9262ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtz(ulong2);
9263ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtz(ulong2);
9264ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtp(ulong2);
9265ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtp(ulong2);
9266ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtn(ulong2);
9267ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtn(ulong2);
9268ulong2 const_func __attribute__((overloadable)) convert_ulong2(ulong2);
9269ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat(ulong2);
9270ulong2 const_func __attribute__((overloadable)) convert_ulong2_rte(float2);
9271ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rte(float2);
9272ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtz(float2);
9273ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtz(float2);
9274ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtp(float2);
9275ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtp(float2);
9276ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtn(float2);
9277ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtn(float2);
9278ulong2 const_func __attribute__((overloadable)) convert_ulong2(float2);
9279ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat(float2);
9280ulong2 const_func __attribute__((overloadable)) convert_ulong2_rte(double2);
9281ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rte(double2);
9282ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtz(double2);
9283ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtz(double2);
9284ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtp(double2);
9285ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtp(double2);
9286ulong2 const_func __attribute__((overloadable)) convert_ulong2_rtn(double2);
9287ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat_rtn(double2);
9288ulong2 const_func __attribute__((overloadable)) convert_ulong2(double2);
9289ulong2 const_func __attribute__((overloadable)) convert_ulong2_sat(double2);
9290
9291float2 const_func __attribute__((overloadable)) convert_float2_rte(char2);
9292float2 const_func __attribute__((overloadable)) convert_float2_rtz(char2);
9293float2 const_func __attribute__((overloadable)) convert_float2_rtp(char2);
9294float2 const_func __attribute__((overloadable)) convert_float2_rtn(char2);
9295float2 const_func __attribute__((overloadable)) convert_float2(char2);
9296float2 const_func __attribute__((overloadable)) convert_float2_rte(uchar2);
9297float2 const_func __attribute__((overloadable)) convert_float2_rtz(uchar2);
9298float2 const_func __attribute__((overloadable)) convert_float2_rtp(uchar2);
9299float2 const_func __attribute__((overloadable)) convert_float2_rtn(uchar2);
9300float2 const_func __attribute__((overloadable)) convert_float2(uchar2);
9301float2 const_func __attribute__((overloadable)) convert_float2_rte(short2);
9302float2 const_func __attribute__((overloadable)) convert_float2_rtz(short2);
9303float2 const_func __attribute__((overloadable)) convert_float2_rtp(short2);
9304float2 const_func __attribute__((overloadable)) convert_float2_rtn(short2);
9305float2 const_func __attribute__((overloadable)) convert_float2(short2);
9306float2 const_func __attribute__((overloadable)) convert_float2_rte(ushort2);
9307float2 const_func __attribute__((overloadable)) convert_float2_rtz(ushort2);
9308float2 const_func __attribute__((overloadable)) convert_float2_rtp(ushort2);
9309float2 const_func __attribute__((overloadable)) convert_float2_rtn(ushort2);
9310float2 const_func __attribute__((overloadable)) convert_float2(ushort2);
9311float2 const_func __attribute__((overloadable)) convert_float2_rte(int2);
9312float2 const_func __attribute__((overloadable)) convert_float2_rtz(int2);
9313float2 const_func __attribute__((overloadable)) convert_float2_rtp(int2);
9314float2 const_func __attribute__((overloadable)) convert_float2_rtn(int2);
9315float2 const_func __attribute__((overloadable)) convert_float2(int2);
9316float2 const_func __attribute__((overloadable)) convert_float2_rte(uint2);
9317float2 const_func __attribute__((overloadable)) convert_float2_rtz(uint2);
9318float2 const_func __attribute__((overloadable)) convert_float2_rtp(uint2);
9319float2 const_func __attribute__((overloadable)) convert_float2_rtn(uint2);
9320float2 const_func __attribute__((overloadable)) convert_float2(uint2);
9321float2 const_func __attribute__((overloadable)) convert_float2_rte(long2);
9322float2 const_func __attribute__((overloadable)) convert_float2_rtz(long2);
9323float2 const_func __attribute__((overloadable)) convert_float2_rtp(long2);
9324float2 const_func __attribute__((overloadable)) convert_float2_rtn(long2);
9325float2 const_func __attribute__((overloadable)) convert_float2(long2);
9326float2 const_func __attribute__((overloadable)) convert_float2_rte(ulong2);
9327float2 const_func __attribute__((overloadable)) convert_float2_rtz(ulong2);
9328float2 const_func __attribute__((overloadable)) convert_float2_rtp(ulong2);
9329float2 const_func __attribute__((overloadable)) convert_float2_rtn(ulong2);
9330float2 const_func __attribute__((overloadable)) convert_float2(ulong2);
9331float2 const_func __attribute__((overloadable)) convert_float2_rte(float2);
9332float2 const_func __attribute__((overloadable)) convert_float2_rtz(float2);
9333float2 const_func __attribute__((overloadable)) convert_float2_rtp(float2);
9334float2 const_func __attribute__((overloadable)) convert_float2_rtn(float2);
9335float2 const_func __attribute__((overloadable)) convert_float2(float2);
9336float2 const_func __attribute__((overloadable)) convert_float2_rte(double2);
9337float2 const_func __attribute__((overloadable)) convert_float2_rtz(double2);
9338float2 const_func __attribute__((overloadable)) convert_float2_rtp(double2);
9339float2 const_func __attribute__((overloadable)) convert_float2_rtn(double2);
9340float2 const_func __attribute__((overloadable)) convert_float2(double2);
9341
9342double2 const_func __attribute__((overloadable)) convert_double2_rte(char2);
9343double2 const_func __attribute__((overloadable)) convert_double2_rtz(char2);
9344double2 const_func __attribute__((overloadable)) convert_double2_rtp(char2);
9345double2 const_func __attribute__((overloadable)) convert_double2_rtn(char2);
9346double2 const_func __attribute__((overloadable)) convert_double2(char2);
9347double2 const_func __attribute__((overloadable)) convert_double2_rte(uchar2);
9348double2 const_func __attribute__((overloadable)) convert_double2_rtz(uchar2);
9349double2 const_func __attribute__((overloadable)) convert_double2_rtp(uchar2);
9350double2 const_func __attribute__((overloadable)) convert_double2_rtn(uchar2);
9351double2 const_func __attribute__((overloadable)) convert_double2(uchar2);
9352double2 const_func __attribute__((overloadable)) convert_double2_rte(short2);
9353double2 const_func __attribute__((overloadable)) convert_double2_rtz(short2);
9354double2 const_func __attribute__((overloadable)) convert_double2_rtp(short2);
9355double2 const_func __attribute__((overloadable)) convert_double2_rtn(short2);
9356double2 const_func __attribute__((overloadable)) convert_double2(short2);
9357double2 const_func __attribute__((overloadable)) convert_double2_rte(ushort2);
9358double2 const_func __attribute__((overloadable)) convert_double2_rtz(ushort2);
9359double2 const_func __attribute__((overloadable)) convert_double2_rtp(ushort2);
9360double2 const_func __attribute__((overloadable)) convert_double2_rtn(ushort2);
9361double2 const_func __attribute__((overloadable)) convert_double2(ushort2);
9362double2 const_func __attribute__((overloadable)) convert_double2_rte(int2);
9363double2 const_func __attribute__((overloadable)) convert_double2_rtz(int2);
9364double2 const_func __attribute__((overloadable)) convert_double2_rtp(int2);
9365double2 const_func __attribute__((overloadable)) convert_double2_rtn(int2);
9366double2 const_func __attribute__((overloadable)) convert_double2(int2);
9367double2 const_func __attribute__((overloadable)) convert_double2_rte(uint2);
9368double2 const_func __attribute__((overloadable)) convert_double2_rtz(uint2);
9369double2 const_func __attribute__((overloadable)) convert_double2_rtp(uint2);
9370double2 const_func __attribute__((overloadable)) convert_double2_rtn(uint2);
9371double2 const_func __attribute__((overloadable)) convert_double2(uint2);
9372double2 const_func __attribute__((overloadable)) convert_double2_rte(long2);
9373double2 const_func __attribute__((overloadable)) convert_double2_rtz(long2);
9374double2 const_func __attribute__((overloadable)) convert_double2_rtp(long2);
9375double2 const_func __attribute__((overloadable)) convert_double2_rtn(long2);
9376double2 const_func __attribute__((overloadable)) convert_double2(long2);
9377double2 const_func __attribute__((overloadable)) convert_double2_rte(ulong2);
9378double2 const_func __attribute__((overloadable)) convert_double2_rtz(ulong2);
9379double2 const_func __attribute__((overloadable)) convert_double2_rtp(ulong2);
9380double2 const_func __attribute__((overloadable)) convert_double2_rtn(ulong2);
9381double2 const_func __attribute__((overloadable)) convert_double2(ulong2);
9382double2 const_func __attribute__((overloadable)) convert_double2_rte(float2);
9383double2 const_func __attribute__((overloadable)) convert_double2_rtz(float2);
9384double2 const_func __attribute__((overloadable)) convert_double2_rtp(float2);
9385double2 const_func __attribute__((overloadable)) convert_double2_rtn(float2);
9386double2 const_func __attribute__((overloadable)) convert_double2(float2);
9387double2 const_func __attribute__((overloadable)) convert_double2_rte(double2);
9388double2 const_func __attribute__((overloadable)) convert_double2_rtz(double2);
9389double2 const_func __attribute__((overloadable)) convert_double2_rtp(double2);
9390double2 const_func __attribute__((overloadable)) convert_double2_rtn(double2);
9391double2 const_func __attribute__((overloadable)) convert_double2(double2);
9392
9393char3 const_func __attribute__((overloadable)) convert_char3_rte(char3);
9394char3 const_func __attribute__((overloadable)) convert_char3_sat_rte(char3);
9395char3 const_func __attribute__((overloadable)) convert_char3_rtz(char3);
9396char3 const_func __attribute__((overloadable)) convert_char3_sat_rtz(char3);
9397char3 const_func __attribute__((overloadable)) convert_char3_rtp(char3);
9398char3 const_func __attribute__((overloadable)) convert_char3_sat_rtp(char3);
9399char3 const_func __attribute__((overloadable)) convert_char3_rtn(char3);
9400char3 const_func __attribute__((overloadable)) convert_char3_sat_rtn(char3);
9401char3 const_func __attribute__((overloadable)) convert_char3(char3);
9402char3 const_func __attribute__((overloadable)) convert_char3_sat(char3);
9403char3 const_func __attribute__((overloadable)) convert_char3_rte(uchar3);
9404char3 const_func __attribute__((overloadable)) convert_char3_sat_rte(uchar3);
9405char3 const_func __attribute__((overloadable)) convert_char3_rtz(uchar3);
9406char3 const_func __attribute__((overloadable)) convert_char3_sat_rtz(uchar3);
9407char3 const_func __attribute__((overloadable)) convert_char3_rtp(uchar3);
9408char3 const_func __attribute__((overloadable)) convert_char3_sat_rtp(uchar3);
9409char3 const_func __attribute__((overloadable)) convert_char3_rtn(uchar3);
9410char3 const_func __attribute__((overloadable)) convert_char3_sat_rtn(uchar3);
9411char3 const_func __attribute__((overloadable)) convert_char3(uchar3);
9412char3 const_func __attribute__((overloadable)) convert_char3_sat(uchar3);
9413char3 const_func __attribute__((overloadable)) convert_char3_rte(short3);
9414char3 const_func __attribute__((overloadable)) convert_char3_sat_rte(short3);
9415char3 const_func __attribute__((overloadable)) convert_char3_rtz(short3);
9416char3 const_func __attribute__((overloadable)) convert_char3_sat_rtz(short3);
9417char3 const_func __attribute__((overloadable)) convert_char3_rtp(short3);
9418char3 const_func __attribute__((overloadable)) convert_char3_sat_rtp(short3);
9419char3 const_func __attribute__((overloadable)) convert_char3_rtn(short3);
9420char3 const_func __attribute__((overloadable)) convert_char3_sat_rtn(short3);
9421char3 const_func __attribute__((overloadable)) convert_char3(short3);
9422char3 const_func __attribute__((overloadable)) convert_char3_sat(short3);
9423char3 const_func __attribute__((overloadable)) convert_char3_rte(ushort3);
9424char3 const_func __attribute__((overloadable)) convert_char3_sat_rte(ushort3);
9425char3 const_func __attribute__((overloadable)) convert_char3_rtz(ushort3);
9426char3 const_func __attribute__((overloadable)) convert_char3_sat_rtz(ushort3);
9427char3 const_func __attribute__((overloadable)) convert_char3_rtp(ushort3);
9428char3 const_func __attribute__((overloadable)) convert_char3_sat_rtp(ushort3);
9429char3 const_func __attribute__((overloadable)) convert_char3_rtn(ushort3);
9430char3 const_func __attribute__((overloadable)) convert_char3_sat_rtn(ushort3);
9431char3 const_func __attribute__((overloadable)) convert_char3(ushort3);
9432char3 const_func __attribute__((overloadable)) convert_char3_sat(ushort3);
9433char3 const_func __attribute__((overloadable)) convert_char3_rte(int3);
9434char3 const_func __attribute__((overloadable)) convert_char3_sat_rte(int3);
9435char3 const_func __attribute__((overloadable)) convert_char3_rtz(int3);
9436char3 const_func __attribute__((overloadable)) convert_char3_sat_rtz(int3);
9437char3 const_func __attribute__((overloadable)) convert_char3_rtp(int3);
9438char3 const_func __attribute__((overloadable)) convert_char3_sat_rtp(int3);
9439char3 const_func __attribute__((overloadable)) convert_char3_rtn(int3);
9440char3 const_func __attribute__((overloadable)) convert_char3_sat_rtn(int3);
9441char3 const_func __attribute__((overloadable)) convert_char3(int3);
9442char3 const_func __attribute__((overloadable)) convert_char3_sat(int3);
9443char3 const_func __attribute__((overloadable)) convert_char3_rte(uint3);
9444char3 const_func __attribute__((overloadable)) convert_char3_sat_rte(uint3);
9445char3 const_func __attribute__((overloadable)) convert_char3_rtz(uint3);
9446char3 const_func __attribute__((overloadable)) convert_char3_sat_rtz(uint3);
9447char3 const_func __attribute__((overloadable)) convert_char3_rtp(uint3);
9448char3 const_func __attribute__((overloadable)) convert_char3_sat_rtp(uint3);
9449char3 const_func __attribute__((overloadable)) convert_char3_rtn(uint3);
9450char3 const_func __attribute__((overloadable)) convert_char3_sat_rtn(uint3);
9451char3 const_func __attribute__((overloadable)) convert_char3(uint3);
9452char3 const_func __attribute__((overloadable)) convert_char3_sat(uint3);
9453char3 const_func __attribute__((overloadable)) convert_char3_rte(long3);
9454char3 const_func __attribute__((overloadable)) convert_char3_sat_rte(long3);
9455char3 const_func __attribute__((overloadable)) convert_char3_rtz(long3);
9456char3 const_func __attribute__((overloadable)) convert_char3_sat_rtz(long3);
9457char3 const_func __attribute__((overloadable)) convert_char3_rtp(long3);
9458char3 const_func __attribute__((overloadable)) convert_char3_sat_rtp(long3);
9459char3 const_func __attribute__((overloadable)) convert_char3_rtn(long3);
9460char3 const_func __attribute__((overloadable)) convert_char3_sat_rtn(long3);
9461char3 const_func __attribute__((overloadable)) convert_char3(long3);
9462char3 const_func __attribute__((overloadable)) convert_char3_sat(long3);
9463char3 const_func __attribute__((overloadable)) convert_char3_rte(ulong3);
9464char3 const_func __attribute__((overloadable)) convert_char3_sat_rte(ulong3);
9465char3 const_func __attribute__((overloadable)) convert_char3_rtz(ulong3);
9466char3 const_func __attribute__((overloadable)) convert_char3_sat_rtz(ulong3);
9467char3 const_func __attribute__((overloadable)) convert_char3_rtp(ulong3);
9468char3 const_func __attribute__((overloadable)) convert_char3_sat_rtp(ulong3);
9469char3 const_func __attribute__((overloadable)) convert_char3_rtn(ulong3);
9470char3 const_func __attribute__((overloadable)) convert_char3_sat_rtn(ulong3);
9471char3 const_func __attribute__((overloadable)) convert_char3(ulong3);
9472char3 const_func __attribute__((overloadable)) convert_char3_sat(ulong3);
9473char3 const_func __attribute__((overloadable)) convert_char3_rte(float3);
9474char3 const_func __attribute__((overloadable)) convert_char3_sat_rte(float3);
9475char3 const_func __attribute__((overloadable)) convert_char3_rtz(float3);
9476char3 const_func __attribute__((overloadable)) convert_char3_sat_rtz(float3);
9477char3 const_func __attribute__((overloadable)) convert_char3_rtp(float3);
9478char3 const_func __attribute__((overloadable)) convert_char3_sat_rtp(float3);
9479char3 const_func __attribute__((overloadable)) convert_char3_rtn(float3);
9480char3 const_func __attribute__((overloadable)) convert_char3_sat_rtn(float3);
9481char3 const_func __attribute__((overloadable)) convert_char3(float3);
9482char3 const_func __attribute__((overloadable)) convert_char3_sat(float3);
9483char3 const_func __attribute__((overloadable)) convert_char3_rte(double3);
9484char3 const_func __attribute__((overloadable)) convert_char3_sat_rte(double3);
9485char3 const_func __attribute__((overloadable)) convert_char3_rtz(double3);
9486char3 const_func __attribute__((overloadable)) convert_char3_sat_rtz(double3);
9487char3 const_func __attribute__((overloadable)) convert_char3_rtp(double3);
9488char3 const_func __attribute__((overloadable)) convert_char3_sat_rtp(double3);
9489char3 const_func __attribute__((overloadable)) convert_char3_rtn(double3);
9490char3 const_func __attribute__((overloadable)) convert_char3_sat_rtn(double3);
9491char3 const_func __attribute__((overloadable)) convert_char3(double3);
9492char3 const_func __attribute__((overloadable)) convert_char3_sat(double3);
9493
9494uchar3 const_func __attribute__((overloadable)) convert_uchar3_rte(char3);
9495uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rte(char3);
9496uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtz(char3);
9497uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtz(char3);
9498uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtp(char3);
9499uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtp(char3);
9500uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtn(char3);
9501uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtn(char3);
9502uchar3 const_func __attribute__((overloadable)) convert_uchar3(char3);
9503uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat(char3);
9504uchar3 const_func __attribute__((overloadable)) convert_uchar3_rte(uchar3);
9505uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rte(uchar3);
9506uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtz(uchar3);
9507uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtz(uchar3);
9508uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtp(uchar3);
9509uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtp(uchar3);
9510uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtn(uchar3);
9511uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtn(uchar3);
9512uchar3 const_func __attribute__((overloadable)) convert_uchar3(uchar3);
9513uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat(uchar3);
9514uchar3 const_func __attribute__((overloadable)) convert_uchar3_rte(short3);
9515uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rte(short3);
9516uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtz(short3);
9517uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtz(short3);
9518uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtp(short3);
9519uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtp(short3);
9520uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtn(short3);
9521uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtn(short3);
9522uchar3 const_func __attribute__((overloadable)) convert_uchar3(short3);
9523uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat(short3);
9524uchar3 const_func __attribute__((overloadable)) convert_uchar3_rte(ushort3);
9525uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rte(ushort3);
9526uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtz(ushort3);
9527uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtz(ushort3);
9528uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtp(ushort3);
9529uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtp(ushort3);
9530uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtn(ushort3);
9531uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtn(ushort3);
9532uchar3 const_func __attribute__((overloadable)) convert_uchar3(ushort3);
9533uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat(ushort3);
9534uchar3 const_func __attribute__((overloadable)) convert_uchar3_rte(int3);
9535uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rte(int3);
9536uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtz(int3);
9537uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtz(int3);
9538uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtp(int3);
9539uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtp(int3);
9540uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtn(int3);
9541uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtn(int3);
9542uchar3 const_func __attribute__((overloadable)) convert_uchar3(int3);
9543uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat(int3);
9544uchar3 const_func __attribute__((overloadable)) convert_uchar3_rte(uint3);
9545uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rte(uint3);
9546uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtz(uint3);
9547uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtz(uint3);
9548uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtp(uint3);
9549uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtp(uint3);
9550uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtn(uint3);
9551uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtn(uint3);
9552uchar3 const_func __attribute__((overloadable)) convert_uchar3(uint3);
9553uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat(uint3);
9554uchar3 const_func __attribute__((overloadable)) convert_uchar3_rte(long3);
9555uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rte(long3);
9556uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtz(long3);
9557uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtz(long3);
9558uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtp(long3);
9559uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtp(long3);
9560uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtn(long3);
9561uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtn(long3);
9562uchar3 const_func __attribute__((overloadable)) convert_uchar3(long3);
9563uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat(long3);
9564uchar3 const_func __attribute__((overloadable)) convert_uchar3_rte(ulong3);
9565uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rte(ulong3);
9566uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtz(ulong3);
9567uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtz(ulong3);
9568uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtp(ulong3);
9569uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtp(ulong3);
9570uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtn(ulong3);
9571uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtn(ulong3);
9572uchar3 const_func __attribute__((overloadable)) convert_uchar3(ulong3);
9573uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat(ulong3);
9574uchar3 const_func __attribute__((overloadable)) convert_uchar3_rte(float3);
9575uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rte(float3);
9576uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtz(float3);
9577uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtz(float3);
9578uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtp(float3);
9579uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtp(float3);
9580uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtn(float3);
9581uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtn(float3);
9582uchar3 const_func __attribute__((overloadable)) convert_uchar3(float3);
9583uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat(float3);
9584uchar3 const_func __attribute__((overloadable)) convert_uchar3_rte(double3);
9585uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rte(double3);
9586uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtz(double3);
9587uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtz(double3);
9588uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtp(double3);
9589uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtp(double3);
9590uchar3 const_func __attribute__((overloadable)) convert_uchar3_rtn(double3);
9591uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat_rtn(double3);
9592uchar3 const_func __attribute__((overloadable)) convert_uchar3(double3);
9593uchar3 const_func __attribute__((overloadable)) convert_uchar3_sat(double3);
9594
9595short3 const_func __attribute__((overloadable)) convert_short3_rte(char3);
9596short3 const_func __attribute__((overloadable)) convert_short3_sat_rte(char3);
9597short3 const_func __attribute__((overloadable)) convert_short3_rtz(char3);
9598short3 const_func __attribute__((overloadable)) convert_short3_sat_rtz(char3);
9599short3 const_func __attribute__((overloadable)) convert_short3_rtp(char3);
9600short3 const_func __attribute__((overloadable)) convert_short3_sat_rtp(char3);
9601short3 const_func __attribute__((overloadable)) convert_short3_rtn(char3);
9602short3 const_func __attribute__((overloadable)) convert_short3_sat_rtn(char3);
9603short3 const_func __attribute__((overloadable)) convert_short3(char3);
9604short3 const_func __attribute__((overloadable)) convert_short3_sat(char3);
9605short3 const_func __attribute__((overloadable)) convert_short3_rte(uchar3);
9606short3 const_func __attribute__((overloadable)) convert_short3_sat_rte(uchar3);
9607short3 const_func __attribute__((overloadable)) convert_short3_rtz(uchar3);
9608short3 const_func __attribute__((overloadable)) convert_short3_sat_rtz(uchar3);
9609short3 const_func __attribute__((overloadable)) convert_short3_rtp(uchar3);
9610short3 const_func __attribute__((overloadable)) convert_short3_sat_rtp(uchar3);
9611short3 const_func __attribute__((overloadable)) convert_short3_rtn(uchar3);
9612short3 const_func __attribute__((overloadable)) convert_short3_sat_rtn(uchar3);
9613short3 const_func __attribute__((overloadable)) convert_short3(uchar3);
9614short3 const_func __attribute__((overloadable)) convert_short3_sat(uchar3);
9615short3 const_func __attribute__((overloadable)) convert_short3_rte(short3);
9616short3 const_func __attribute__((overloadable)) convert_short3_sat_rte(short3);
9617short3 const_func __attribute__((overloadable)) convert_short3_rtz(short3);
9618short3 const_func __attribute__((overloadable)) convert_short3_sat_rtz(short3);
9619short3 const_func __attribute__((overloadable)) convert_short3_rtp(short3);
9620short3 const_func __attribute__((overloadable)) convert_short3_sat_rtp(short3);
9621short3 const_func __attribute__((overloadable)) convert_short3_rtn(short3);
9622short3 const_func __attribute__((overloadable)) convert_short3_sat_rtn(short3);
9623short3 const_func __attribute__((overloadable)) convert_short3(short3);
9624short3 const_func __attribute__((overloadable)) convert_short3_sat(short3);
9625short3 const_func __attribute__((overloadable)) convert_short3_rte(ushort3);
9626short3 const_func __attribute__((overloadable)) convert_short3_sat_rte(ushort3);
9627short3 const_func __attribute__((overloadable)) convert_short3_rtz(ushort3);
9628short3 const_func __attribute__((overloadable)) convert_short3_sat_rtz(ushort3);
9629short3 const_func __attribute__((overloadable)) convert_short3_rtp(ushort3);
9630short3 const_func __attribute__((overloadable)) convert_short3_sat_rtp(ushort3);
9631short3 const_func __attribute__((overloadable)) convert_short3_rtn(ushort3);
9632short3 const_func __attribute__((overloadable)) convert_short3_sat_rtn(ushort3);
9633short3 const_func __attribute__((overloadable)) convert_short3(ushort3);
9634short3 const_func __attribute__((overloadable)) convert_short3_sat(ushort3);
9635short3 const_func __attribute__((overloadable)) convert_short3_rte(int3);
9636short3 const_func __attribute__((overloadable)) convert_short3_sat_rte(int3);
9637short3 const_func __attribute__((overloadable)) convert_short3_rtz(int3);
9638short3 const_func __attribute__((overloadable)) convert_short3_sat_rtz(int3);
9639short3 const_func __attribute__((overloadable)) convert_short3_rtp(int3);
9640short3 const_func __attribute__((overloadable)) convert_short3_sat_rtp(int3);
9641short3 const_func __attribute__((overloadable)) convert_short3_rtn(int3);
9642short3 const_func __attribute__((overloadable)) convert_short3_sat_rtn(int3);
9643short3 const_func __attribute__((overloadable)) convert_short3(int3);
9644short3 const_func __attribute__((overloadable)) convert_short3_sat(int3);
9645short3 const_func __attribute__((overloadable)) convert_short3_rte(uint3);
9646short3 const_func __attribute__((overloadable)) convert_short3_sat_rte(uint3);
9647short3 const_func __attribute__((overloadable)) convert_short3_rtz(uint3);
9648short3 const_func __attribute__((overloadable)) convert_short3_sat_rtz(uint3);
9649short3 const_func __attribute__((overloadable)) convert_short3_rtp(uint3);
9650short3 const_func __attribute__((overloadable)) convert_short3_sat_rtp(uint3);
9651short3 const_func __attribute__((overloadable)) convert_short3_rtn(uint3);
9652short3 const_func __attribute__((overloadable)) convert_short3_sat_rtn(uint3);
9653short3 const_func __attribute__((overloadable)) convert_short3(uint3);
9654short3 const_func __attribute__((overloadable)) convert_short3_sat(uint3);
9655short3 const_func __attribute__((overloadable)) convert_short3_rte(long3);
9656short3 const_func __attribute__((overloadable)) convert_short3_sat_rte(long3);
9657short3 const_func __attribute__((overloadable)) convert_short3_rtz(long3);
9658short3 const_func __attribute__((overloadable)) convert_short3_sat_rtz(long3);
9659short3 const_func __attribute__((overloadable)) convert_short3_rtp(long3);
9660short3 const_func __attribute__((overloadable)) convert_short3_sat_rtp(long3);
9661short3 const_func __attribute__((overloadable)) convert_short3_rtn(long3);
9662short3 const_func __attribute__((overloadable)) convert_short3_sat_rtn(long3);
9663short3 const_func __attribute__((overloadable)) convert_short3(long3);
9664short3 const_func __attribute__((overloadable)) convert_short3_sat(long3);
9665short3 const_func __attribute__((overloadable)) convert_short3_rte(ulong3);
9666short3 const_func __attribute__((overloadable)) convert_short3_sat_rte(ulong3);
9667short3 const_func __attribute__((overloadable)) convert_short3_rtz(ulong3);
9668short3 const_func __attribute__((overloadable)) convert_short3_sat_rtz(ulong3);
9669short3 const_func __attribute__((overloadable)) convert_short3_rtp(ulong3);
9670short3 const_func __attribute__((overloadable)) convert_short3_sat_rtp(ulong3);
9671short3 const_func __attribute__((overloadable)) convert_short3_rtn(ulong3);
9672short3 const_func __attribute__((overloadable)) convert_short3_sat_rtn(ulong3);
9673short3 const_func __attribute__((overloadable)) convert_short3(ulong3);
9674short3 const_func __attribute__((overloadable)) convert_short3_sat(ulong3);
9675short3 const_func __attribute__((overloadable)) convert_short3_rte(float3);
9676short3 const_func __attribute__((overloadable)) convert_short3_sat_rte(float3);
9677short3 const_func __attribute__((overloadable)) convert_short3_rtz(float3);
9678short3 const_func __attribute__((overloadable)) convert_short3_sat_rtz(float3);
9679short3 const_func __attribute__((overloadable)) convert_short3_rtp(float3);
9680short3 const_func __attribute__((overloadable)) convert_short3_sat_rtp(float3);
9681short3 const_func __attribute__((overloadable)) convert_short3_rtn(float3);
9682short3 const_func __attribute__((overloadable)) convert_short3_sat_rtn(float3);
9683short3 const_func __attribute__((overloadable)) convert_short3(float3);
9684short3 const_func __attribute__((overloadable)) convert_short3_sat(float3);
9685short3 const_func __attribute__((overloadable)) convert_short3_rte(double3);
9686short3 const_func __attribute__((overloadable)) convert_short3_sat_rte(double3);
9687short3 const_func __attribute__((overloadable)) convert_short3_rtz(double3);
9688short3 const_func __attribute__((overloadable)) convert_short3_sat_rtz(double3);
9689short3 const_func __attribute__((overloadable)) convert_short3_rtp(double3);
9690short3 const_func __attribute__((overloadable)) convert_short3_sat_rtp(double3);
9691short3 const_func __attribute__((overloadable)) convert_short3_rtn(double3);
9692short3 const_func __attribute__((overloadable)) convert_short3_sat_rtn(double3);
9693short3 const_func __attribute__((overloadable)) convert_short3(double3);
9694short3 const_func __attribute__((overloadable)) convert_short3_sat(double3);
9695
9696ushort3 const_func __attribute__((overloadable)) convert_ushort3_rte(char3);
9697ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rte(char3);
9698ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtz(char3);
9699ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtz(char3);
9700ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtp(char3);
9701ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtp(char3);
9702ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtn(char3);
9703ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtn(char3);
9704ushort3 const_func __attribute__((overloadable)) convert_ushort3(char3);
9705ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat(char3);
9706ushort3 const_func __attribute__((overloadable)) convert_ushort3_rte(uchar3);
9707ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rte(uchar3);
9708ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtz(uchar3);
9709ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtz(uchar3);
9710ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtp(uchar3);
9711ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtp(uchar3);
9712ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtn(uchar3);
9713ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtn(uchar3);
9714ushort3 const_func __attribute__((overloadable)) convert_ushort3(uchar3);
9715ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat(uchar3);
9716ushort3 const_func __attribute__((overloadable)) convert_ushort3_rte(short3);
9717ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rte(short3);
9718ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtz(short3);
9719ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtz(short3);
9720ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtp(short3);
9721ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtp(short3);
9722ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtn(short3);
9723ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtn(short3);
9724ushort3 const_func __attribute__((overloadable)) convert_ushort3(short3);
9725ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat(short3);
9726ushort3 const_func __attribute__((overloadable)) convert_ushort3_rte(ushort3);
9727ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rte(ushort3);
9728ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtz(ushort3);
9729ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtz(ushort3);
9730ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtp(ushort3);
9731ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtp(ushort3);
9732ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtn(ushort3);
9733ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtn(ushort3);
9734ushort3 const_func __attribute__((overloadable)) convert_ushort3(ushort3);
9735ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat(ushort3);
9736ushort3 const_func __attribute__((overloadable)) convert_ushort3_rte(int3);
9737ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rte(int3);
9738ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtz(int3);
9739ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtz(int3);
9740ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtp(int3);
9741ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtp(int3);
9742ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtn(int3);
9743ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtn(int3);
9744ushort3 const_func __attribute__((overloadable)) convert_ushort3(int3);
9745ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat(int3);
9746ushort3 const_func __attribute__((overloadable)) convert_ushort3_rte(uint3);
9747ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rte(uint3);
9748ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtz(uint3);
9749ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtz(uint3);
9750ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtp(uint3);
9751ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtp(uint3);
9752ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtn(uint3);
9753ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtn(uint3);
9754ushort3 const_func __attribute__((overloadable)) convert_ushort3(uint3);
9755ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat(uint3);
9756ushort3 const_func __attribute__((overloadable)) convert_ushort3_rte(long3);
9757ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rte(long3);
9758ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtz(long3);
9759ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtz(long3);
9760ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtp(long3);
9761ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtp(long3);
9762ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtn(long3);
9763ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtn(long3);
9764ushort3 const_func __attribute__((overloadable)) convert_ushort3(long3);
9765ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat(long3);
9766ushort3 const_func __attribute__((overloadable)) convert_ushort3_rte(ulong3);
9767ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rte(ulong3);
9768ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtz(ulong3);
9769ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtz(ulong3);
9770ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtp(ulong3);
9771ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtp(ulong3);
9772ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtn(ulong3);
9773ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtn(ulong3);
9774ushort3 const_func __attribute__((overloadable)) convert_ushort3(ulong3);
9775ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat(ulong3);
9776ushort3 const_func __attribute__((overloadable)) convert_ushort3_rte(float3);
9777ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rte(float3);
9778ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtz(float3);
9779ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtz(float3);
9780ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtp(float3);
9781ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtp(float3);
9782ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtn(float3);
9783ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtn(float3);
9784ushort3 const_func __attribute__((overloadable)) convert_ushort3(float3);
9785ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat(float3);
9786ushort3 const_func __attribute__((overloadable)) convert_ushort3_rte(double3);
9787ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rte(double3);
9788ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtz(double3);
9789ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtz(double3);
9790ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtp(double3);
9791ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtp(double3);
9792ushort3 const_func __attribute__((overloadable)) convert_ushort3_rtn(double3);
9793ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat_rtn(double3);
9794ushort3 const_func __attribute__((overloadable)) convert_ushort3(double3);
9795ushort3 const_func __attribute__((overloadable)) convert_ushort3_sat(double3);
9796
9797int3 const_func __attribute__((overloadable)) convert_int3_rte(char3);
9798int3 const_func __attribute__((overloadable)) convert_int3_sat_rte(char3);
9799int3 const_func __attribute__((overloadable)) convert_int3_rtz(char3);
9800int3 const_func __attribute__((overloadable)) convert_int3_sat_rtz(char3);
9801int3 const_func __attribute__((overloadable)) convert_int3_rtp(char3);
9802int3 const_func __attribute__((overloadable)) convert_int3_sat_rtp(char3);
9803int3 const_func __attribute__((overloadable)) convert_int3_rtn(char3);
9804int3 const_func __attribute__((overloadable)) convert_int3_sat_rtn(char3);
9805int3 const_func __attribute__((overloadable)) convert_int3(char3);
9806int3 const_func __attribute__((overloadable)) convert_int3_sat(char3);
9807int3 const_func __attribute__((overloadable)) convert_int3_rte(uchar3);
9808int3 const_func __attribute__((overloadable)) convert_int3_sat_rte(uchar3);
9809int3 const_func __attribute__((overloadable)) convert_int3_rtz(uchar3);
9810int3 const_func __attribute__((overloadable)) convert_int3_sat_rtz(uchar3);
9811int3 const_func __attribute__((overloadable)) convert_int3_rtp(uchar3);
9812int3 const_func __attribute__((overloadable)) convert_int3_sat_rtp(uchar3);
9813int3 const_func __attribute__((overloadable)) convert_int3_rtn(uchar3);
9814int3 const_func __attribute__((overloadable)) convert_int3_sat_rtn(uchar3);
9815int3 const_func __attribute__((overloadable)) convert_int3(uchar3);
9816int3 const_func __attribute__((overloadable)) convert_int3_sat(uchar3);
9817int3 const_func __attribute__((overloadable)) convert_int3_rte(short3);
9818int3 const_func __attribute__((overloadable)) convert_int3_sat_rte(short3);
9819int3 const_func __attribute__((overloadable)) convert_int3_rtz(short3);
9820int3 const_func __attribute__((overloadable)) convert_int3_sat_rtz(short3);
9821int3 const_func __attribute__((overloadable)) convert_int3_rtp(short3);
9822int3 const_func __attribute__((overloadable)) convert_int3_sat_rtp(short3);
9823int3 const_func __attribute__((overloadable)) convert_int3_rtn(short3);
9824int3 const_func __attribute__((overloadable)) convert_int3_sat_rtn(short3);
9825int3 const_func __attribute__((overloadable)) convert_int3(short3);
9826int3 const_func __attribute__((overloadable)) convert_int3_sat(short3);
9827int3 const_func __attribute__((overloadable)) convert_int3_rte(ushort3);
9828int3 const_func __attribute__((overloadable)) convert_int3_sat_rte(ushort3);
9829int3 const_func __attribute__((overloadable)) convert_int3_rtz(ushort3);
9830int3 const_func __attribute__((overloadable)) convert_int3_sat_rtz(ushort3);
9831int3 const_func __attribute__((overloadable)) convert_int3_rtp(ushort3);
9832int3 const_func __attribute__((overloadable)) convert_int3_sat_rtp(ushort3);
9833int3 const_func __attribute__((overloadable)) convert_int3_rtn(ushort3);
9834int3 const_func __attribute__((overloadable)) convert_int3_sat_rtn(ushort3);
9835int3 const_func __attribute__((overloadable)) convert_int3(ushort3);
9836int3 const_func __attribute__((overloadable)) convert_int3_sat(ushort3);
9837int3 const_func __attribute__((overloadable)) convert_int3_rte(int3);
9838int3 const_func __attribute__((overloadable)) convert_int3_sat_rte(int3);
9839int3 const_func __attribute__((overloadable)) convert_int3_rtz(int3);
9840int3 const_func __attribute__((overloadable)) convert_int3_sat_rtz(int3);
9841int3 const_func __attribute__((overloadable)) convert_int3_rtp(int3);
9842int3 const_func __attribute__((overloadable)) convert_int3_sat_rtp(int3);
9843int3 const_func __attribute__((overloadable)) convert_int3_rtn(int3);
9844int3 const_func __attribute__((overloadable)) convert_int3_sat_rtn(int3);
9845int3 const_func __attribute__((overloadable)) convert_int3(int3);
9846int3 const_func __attribute__((overloadable)) convert_int3_sat(int3);
9847int3 const_func __attribute__((overloadable)) convert_int3_rte(uint3);
9848int3 const_func __attribute__((overloadable)) convert_int3_sat_rte(uint3);
9849int3 const_func __attribute__((overloadable)) convert_int3_rtz(uint3);
9850int3 const_func __attribute__((overloadable)) convert_int3_sat_rtz(uint3);
9851int3 const_func __attribute__((overloadable)) convert_int3_rtp(uint3);
9852int3 const_func __attribute__((overloadable)) convert_int3_sat_rtp(uint3);
9853int3 const_func __attribute__((overloadable)) convert_int3_rtn(uint3);
9854int3 const_func __attribute__((overloadable)) convert_int3_sat_rtn(uint3);
9855int3 const_func __attribute__((overloadable)) convert_int3(uint3);
9856int3 const_func __attribute__((overloadable)) convert_int3_sat(uint3);
9857int3 const_func __attribute__((overloadable)) convert_int3_rte(long3);
9858int3 const_func __attribute__((overloadable)) convert_int3_sat_rte(long3);
9859int3 const_func __attribute__((overloadable)) convert_int3_rtz(long3);
9860int3 const_func __attribute__((overloadable)) convert_int3_sat_rtz(long3);
9861int3 const_func __attribute__((overloadable)) convert_int3_rtp(long3);
9862int3 const_func __attribute__((overloadable)) convert_int3_sat_rtp(long3);
9863int3 const_func __attribute__((overloadable)) convert_int3_rtn(long3);
9864int3 const_func __attribute__((overloadable)) convert_int3_sat_rtn(long3);
9865int3 const_func __attribute__((overloadable)) convert_int3(long3);
9866int3 const_func __attribute__((overloadable)) convert_int3_sat(long3);
9867int3 const_func __attribute__((overloadable)) convert_int3_rte(ulong3);
9868int3 const_func __attribute__((overloadable)) convert_int3_sat_rte(ulong3);
9869int3 const_func __attribute__((overloadable)) convert_int3_rtz(ulong3);
9870int3 const_func __attribute__((overloadable)) convert_int3_sat_rtz(ulong3);
9871int3 const_func __attribute__((overloadable)) convert_int3_rtp(ulong3);
9872int3 const_func __attribute__((overloadable)) convert_int3_sat_rtp(ulong3);
9873int3 const_func __attribute__((overloadable)) convert_int3_rtn(ulong3);
9874int3 const_func __attribute__((overloadable)) convert_int3_sat_rtn(ulong3);
9875int3 const_func __attribute__((overloadable)) convert_int3(ulong3);
9876int3 const_func __attribute__((overloadable)) convert_int3_sat(ulong3);
9877int3 const_func __attribute__((overloadable)) convert_int3_rte(float3);
9878int3 const_func __attribute__((overloadable)) convert_int3_sat_rte(float3);
9879int3 const_func __attribute__((overloadable)) convert_int3_rtz(float3);
9880int3 const_func __attribute__((overloadable)) convert_int3_sat_rtz(float3);
9881int3 const_func __attribute__((overloadable)) convert_int3_rtp(float3);
9882int3 const_func __attribute__((overloadable)) convert_int3_sat_rtp(float3);
9883int3 const_func __attribute__((overloadable)) convert_int3_rtn(float3);
9884int3 const_func __attribute__((overloadable)) convert_int3_sat_rtn(float3);
9885int3 const_func __attribute__((overloadable)) convert_int3(float3);
9886int3 const_func __attribute__((overloadable)) convert_int3_sat(float3);
9887int3 const_func __attribute__((overloadable)) convert_int3_rte(double3);
9888int3 const_func __attribute__((overloadable)) convert_int3_sat_rte(double3);
9889int3 const_func __attribute__((overloadable)) convert_int3_rtz(double3);
9890int3 const_func __attribute__((overloadable)) convert_int3_sat_rtz(double3);
9891int3 const_func __attribute__((overloadable)) convert_int3_rtp(double3);
9892int3 const_func __attribute__((overloadable)) convert_int3_sat_rtp(double3);
9893int3 const_func __attribute__((overloadable)) convert_int3_rtn(double3);
9894int3 const_func __attribute__((overloadable)) convert_int3_sat_rtn(double3);
9895int3 const_func __attribute__((overloadable)) convert_int3(double3);
9896int3 const_func __attribute__((overloadable)) convert_int3_sat(double3);
9897
9898uint3 const_func __attribute__((overloadable)) convert_uint3_rte(char3);
9899uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rte(char3);
9900uint3 const_func __attribute__((overloadable)) convert_uint3_rtz(char3);
9901uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtz(char3);
9902uint3 const_func __attribute__((overloadable)) convert_uint3_rtp(char3);
9903uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtp(char3);
9904uint3 const_func __attribute__((overloadable)) convert_uint3_rtn(char3);
9905uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtn(char3);
9906uint3 const_func __attribute__((overloadable)) convert_uint3(char3);
9907uint3 const_func __attribute__((overloadable)) convert_uint3_sat(char3);
9908uint3 const_func __attribute__((overloadable)) convert_uint3_rte(uchar3);
9909uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rte(uchar3);
9910uint3 const_func __attribute__((overloadable)) convert_uint3_rtz(uchar3);
9911uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtz(uchar3);
9912uint3 const_func __attribute__((overloadable)) convert_uint3_rtp(uchar3);
9913uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtp(uchar3);
9914uint3 const_func __attribute__((overloadable)) convert_uint3_rtn(uchar3);
9915uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtn(uchar3);
9916uint3 const_func __attribute__((overloadable)) convert_uint3(uchar3);
9917uint3 const_func __attribute__((overloadable)) convert_uint3_sat(uchar3);
9918uint3 const_func __attribute__((overloadable)) convert_uint3_rte(short3);
9919uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rte(short3);
9920uint3 const_func __attribute__((overloadable)) convert_uint3_rtz(short3);
9921uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtz(short3);
9922uint3 const_func __attribute__((overloadable)) convert_uint3_rtp(short3);
9923uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtp(short3);
9924uint3 const_func __attribute__((overloadable)) convert_uint3_rtn(short3);
9925uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtn(short3);
9926uint3 const_func __attribute__((overloadable)) convert_uint3(short3);
9927uint3 const_func __attribute__((overloadable)) convert_uint3_sat(short3);
9928uint3 const_func __attribute__((overloadable)) convert_uint3_rte(ushort3);
9929uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rte(ushort3);
9930uint3 const_func __attribute__((overloadable)) convert_uint3_rtz(ushort3);
9931uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtz(ushort3);
9932uint3 const_func __attribute__((overloadable)) convert_uint3_rtp(ushort3);
9933uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtp(ushort3);
9934uint3 const_func __attribute__((overloadable)) convert_uint3_rtn(ushort3);
9935uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtn(ushort3);
9936uint3 const_func __attribute__((overloadable)) convert_uint3(ushort3);
9937uint3 const_func __attribute__((overloadable)) convert_uint3_sat(ushort3);
9938uint3 const_func __attribute__((overloadable)) convert_uint3_rte(int3);
9939uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rte(int3);
9940uint3 const_func __attribute__((overloadable)) convert_uint3_rtz(int3);
9941uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtz(int3);
9942uint3 const_func __attribute__((overloadable)) convert_uint3_rtp(int3);
9943uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtp(int3);
9944uint3 const_func __attribute__((overloadable)) convert_uint3_rtn(int3);
9945uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtn(int3);
9946uint3 const_func __attribute__((overloadable)) convert_uint3(int3);
9947uint3 const_func __attribute__((overloadable)) convert_uint3_sat(int3);
9948uint3 const_func __attribute__((overloadable)) convert_uint3_rte(uint3);
9949uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rte(uint3);
9950uint3 const_func __attribute__((overloadable)) convert_uint3_rtz(uint3);
9951uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtz(uint3);
9952uint3 const_func __attribute__((overloadable)) convert_uint3_rtp(uint3);
9953uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtp(uint3);
9954uint3 const_func __attribute__((overloadable)) convert_uint3_rtn(uint3);
9955uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtn(uint3);
9956uint3 const_func __attribute__((overloadable)) convert_uint3(uint3);
9957uint3 const_func __attribute__((overloadable)) convert_uint3_sat(uint3);
9958uint3 const_func __attribute__((overloadable)) convert_uint3_rte(long3);
9959uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rte(long3);
9960uint3 const_func __attribute__((overloadable)) convert_uint3_rtz(long3);
9961uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtz(long3);
9962uint3 const_func __attribute__((overloadable)) convert_uint3_rtp(long3);
9963uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtp(long3);
9964uint3 const_func __attribute__((overloadable)) convert_uint3_rtn(long3);
9965uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtn(long3);
9966uint3 const_func __attribute__((overloadable)) convert_uint3(long3);
9967uint3 const_func __attribute__((overloadable)) convert_uint3_sat(long3);
9968uint3 const_func __attribute__((overloadable)) convert_uint3_rte(ulong3);
9969uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rte(ulong3);
9970uint3 const_func __attribute__((overloadable)) convert_uint3_rtz(ulong3);
9971uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtz(ulong3);
9972uint3 const_func __attribute__((overloadable)) convert_uint3_rtp(ulong3);
9973uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtp(ulong3);
9974uint3 const_func __attribute__((overloadable)) convert_uint3_rtn(ulong3);
9975uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtn(ulong3);
9976uint3 const_func __attribute__((overloadable)) convert_uint3(ulong3);
9977uint3 const_func __attribute__((overloadable)) convert_uint3_sat(ulong3);
9978uint3 const_func __attribute__((overloadable)) convert_uint3_rte(float3);
9979uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rte(float3);
9980uint3 const_func __attribute__((overloadable)) convert_uint3_rtz(float3);
9981uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtz(float3);
9982uint3 const_func __attribute__((overloadable)) convert_uint3_rtp(float3);
9983uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtp(float3);
9984uint3 const_func __attribute__((overloadable)) convert_uint3_rtn(float3);
9985uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtn(float3);
9986uint3 const_func __attribute__((overloadable)) convert_uint3(float3);
9987uint3 const_func __attribute__((overloadable)) convert_uint3_sat(float3);
9988uint3 const_func __attribute__((overloadable)) convert_uint3_rte(double3);
9989uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rte(double3);
9990uint3 const_func __attribute__((overloadable)) convert_uint3_rtz(double3);
9991uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtz(double3);
9992uint3 const_func __attribute__((overloadable)) convert_uint3_rtp(double3);
9993uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtp(double3);
9994uint3 const_func __attribute__((overloadable)) convert_uint3_rtn(double3);
9995uint3 const_func __attribute__((overloadable)) convert_uint3_sat_rtn(double3);
9996uint3 const_func __attribute__((overloadable)) convert_uint3(double3);
9997uint3 const_func __attribute__((overloadable)) convert_uint3_sat(double3);
9998long3 const_func __attribute__((overloadable)) convert_long3_rte(char3);
9999long3 const_func __attribute__((overloadable)) convert_long3_sat_rte(char3);
10000long3 const_func __attribute__((overloadable)) convert_long3_rtz(char3);
10001long3 const_func __attribute__((overloadable)) convert_long3_sat_rtz(char3);
10002long3 const_func __attribute__((overloadable)) convert_long3_rtp(char3);
10003long3 const_func __attribute__((overloadable)) convert_long3_sat_rtp(char3);
10004long3 const_func __attribute__((overloadable)) convert_long3_rtn(char3);
10005long3 const_func __attribute__((overloadable)) convert_long3_sat_rtn(char3);
10006long3 const_func __attribute__((overloadable)) convert_long3(char3);
10007long3 const_func __attribute__((overloadable)) convert_long3_sat(char3);
10008long3 const_func __attribute__((overloadable)) convert_long3_rte(uchar3);
10009long3 const_func __attribute__((overloadable)) convert_long3_sat_rte(uchar3);
10010long3 const_func __attribute__((overloadable)) convert_long3_rtz(uchar3);
10011long3 const_func __attribute__((overloadable)) convert_long3_sat_rtz(uchar3);
10012long3 const_func __attribute__((overloadable)) convert_long3_rtp(uchar3);
10013long3 const_func __attribute__((overloadable)) convert_long3_sat_rtp(uchar3);
10014long3 const_func __attribute__((overloadable)) convert_long3_rtn(uchar3);
10015long3 const_func __attribute__((overloadable)) convert_long3_sat_rtn(uchar3);
10016long3 const_func __attribute__((overloadable)) convert_long3(uchar3);
10017long3 const_func __attribute__((overloadable)) convert_long3_sat(uchar3);
10018long3 const_func __attribute__((overloadable)) convert_long3_rte(short3);
10019long3 const_func __attribute__((overloadable)) convert_long3_sat_rte(short3);
10020long3 const_func __attribute__((overloadable)) convert_long3_rtz(short3);
10021long3 const_func __attribute__((overloadable)) convert_long3_sat_rtz(short3);
10022long3 const_func __attribute__((overloadable)) convert_long3_rtp(short3);
10023long3 const_func __attribute__((overloadable)) convert_long3_sat_rtp(short3);
10024long3 const_func __attribute__((overloadable)) convert_long3_rtn(short3);
10025long3 const_func __attribute__((overloadable)) convert_long3_sat_rtn(short3);
10026long3 const_func __attribute__((overloadable)) convert_long3(short3);
10027long3 const_func __attribute__((overloadable)) convert_long3_sat(short3);
10028long3 const_func __attribute__((overloadable)) convert_long3_rte(ushort3);
10029long3 const_func __attribute__((overloadable)) convert_long3_sat_rte(ushort3);
10030long3 const_func __attribute__((overloadable)) convert_long3_rtz(ushort3);
10031long3 const_func __attribute__((overloadable)) convert_long3_sat_rtz(ushort3);
10032long3 const_func __attribute__((overloadable)) convert_long3_rtp(ushort3);
10033long3 const_func __attribute__((overloadable)) convert_long3_sat_rtp(ushort3);
10034long3 const_func __attribute__((overloadable)) convert_long3_rtn(ushort3);
10035long3 const_func __attribute__((overloadable)) convert_long3_sat_rtn(ushort3);
10036long3 const_func __attribute__((overloadable)) convert_long3(ushort3);
10037long3 const_func __attribute__((overloadable)) convert_long3_sat(ushort3);
10038long3 const_func __attribute__((overloadable)) convert_long3_rte(int3);
10039long3 const_func __attribute__((overloadable)) convert_long3_sat_rte(int3);
10040long3 const_func __attribute__((overloadable)) convert_long3_rtz(int3);
10041long3 const_func __attribute__((overloadable)) convert_long3_sat_rtz(int3);
10042long3 const_func __attribute__((overloadable)) convert_long3_rtp(int3);
10043long3 const_func __attribute__((overloadable)) convert_long3_sat_rtp(int3);
10044long3 const_func __attribute__((overloadable)) convert_long3_rtn(int3);
10045long3 const_func __attribute__((overloadable)) convert_long3_sat_rtn(int3);
10046long3 const_func __attribute__((overloadable)) convert_long3(int3);
10047long3 const_func __attribute__((overloadable)) convert_long3_sat(int3);
10048long3 const_func __attribute__((overloadable)) convert_long3_rte(uint3);
10049long3 const_func __attribute__((overloadable)) convert_long3_sat_rte(uint3);
10050long3 const_func __attribute__((overloadable)) convert_long3_rtz(uint3);
10051long3 const_func __attribute__((overloadable)) convert_long3_sat_rtz(uint3);
10052long3 const_func __attribute__((overloadable)) convert_long3_rtp(uint3);
10053long3 const_func __attribute__((overloadable)) convert_long3_sat_rtp(uint3);
10054long3 const_func __attribute__((overloadable)) convert_long3_rtn(uint3);
10055long3 const_func __attribute__((overloadable)) convert_long3_sat_rtn(uint3);
10056long3 const_func __attribute__((overloadable)) convert_long3(uint3);
10057long3 const_func __attribute__((overloadable)) convert_long3_sat(uint3);
10058long3 const_func __attribute__((overloadable)) convert_long3_rte(long3);
10059long3 const_func __attribute__((overloadable)) convert_long3_sat_rte(long3);
10060long3 const_func __attribute__((overloadable)) convert_long3_rtz(long3);
10061long3 const_func __attribute__((overloadable)) convert_long3_sat_rtz(long3);
10062long3 const_func __attribute__((overloadable)) convert_long3_rtp(long3);
10063long3 const_func __attribute__((overloadable)) convert_long3_sat_rtp(long3);
10064long3 const_func __attribute__((overloadable)) convert_long3_rtn(long3);
10065long3 const_func __attribute__((overloadable)) convert_long3_sat_rtn(long3);
10066long3 const_func __attribute__((overloadable)) convert_long3(long3);
10067long3 const_func __attribute__((overloadable)) convert_long3_sat(long3);
10068long3 const_func __attribute__((overloadable)) convert_long3_rte(ulong3);
10069long3 const_func __attribute__((overloadable)) convert_long3_sat_rte(ulong3);
10070long3 const_func __attribute__((overloadable)) convert_long3_rtz(ulong3);
10071long3 const_func __attribute__((overloadable)) convert_long3_sat_rtz(ulong3);
10072long3 const_func __attribute__((overloadable)) convert_long3_rtp(ulong3);
10073long3 const_func __attribute__((overloadable)) convert_long3_sat_rtp(ulong3);
10074long3 const_func __attribute__((overloadable)) convert_long3_rtn(ulong3);
10075long3 const_func __attribute__((overloadable)) convert_long3_sat_rtn(ulong3);
10076long3 const_func __attribute__((overloadable)) convert_long3(ulong3);
10077long3 const_func __attribute__((overloadable)) convert_long3_sat(ulong3);
10078long3 const_func __attribute__((overloadable)) convert_long3_rte(float3);
10079long3 const_func __attribute__((overloadable)) convert_long3_sat_rte(float3);
10080long3 const_func __attribute__((overloadable)) convert_long3_rtz(float3);
10081long3 const_func __attribute__((overloadable)) convert_long3_sat_rtz(float3);
10082long3 const_func __attribute__((overloadable)) convert_long3_rtp(float3);
10083long3 const_func __attribute__((overloadable)) convert_long3_sat_rtp(float3);
10084long3 const_func __attribute__((overloadable)) convert_long3_rtn(float3);
10085long3 const_func __attribute__((overloadable)) convert_long3_sat_rtn(float3);
10086long3 const_func __attribute__((overloadable)) convert_long3(float3);
10087long3 const_func __attribute__((overloadable)) convert_long3_sat(float3);
10088long3 const_func __attribute__((overloadable)) convert_long3_rte(double3);
10089long3 const_func __attribute__((overloadable)) convert_long3_sat_rte(double3);
10090long3 const_func __attribute__((overloadable)) convert_long3_rtz(double3);
10091long3 const_func __attribute__((overloadable)) convert_long3_sat_rtz(double3);
10092long3 const_func __attribute__((overloadable)) convert_long3_rtp(double3);
10093long3 const_func __attribute__((overloadable)) convert_long3_sat_rtp(double3);
10094long3 const_func __attribute__((overloadable)) convert_long3_rtn(double3);
10095long3 const_func __attribute__((overloadable)) convert_long3_sat_rtn(double3);
10096long3 const_func __attribute__((overloadable)) convert_long3(double3);
10097long3 const_func __attribute__((overloadable)) convert_long3_sat(double3);
10098ulong3 const_func __attribute__((overloadable)) convert_ulong3_rte(char3);
10099ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rte(char3);
10100ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtz(char3);
10101ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtz(char3);
10102ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtp(char3);
10103ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtp(char3);
10104ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtn(char3);
10105ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtn(char3);
10106ulong3 const_func __attribute__((overloadable)) convert_ulong3(char3);
10107ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat(char3);
10108ulong3 const_func __attribute__((overloadable)) convert_ulong3_rte(uchar3);
10109ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rte(uchar3);
10110ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtz(uchar3);
10111ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtz(uchar3);
10112ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtp(uchar3);
10113ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtp(uchar3);
10114ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtn(uchar3);
10115ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtn(uchar3);
10116ulong3 const_func __attribute__((overloadable)) convert_ulong3(uchar3);
10117ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat(uchar3);
10118ulong3 const_func __attribute__((overloadable)) convert_ulong3_rte(short3);
10119ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rte(short3);
10120ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtz(short3);
10121ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtz(short3);
10122ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtp(short3);
10123ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtp(short3);
10124ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtn(short3);
10125ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtn(short3);
10126ulong3 const_func __attribute__((overloadable)) convert_ulong3(short3);
10127ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat(short3);
10128ulong3 const_func __attribute__((overloadable)) convert_ulong3_rte(ushort3);
10129ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rte(ushort3);
10130ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtz(ushort3);
10131ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtz(ushort3);
10132ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtp(ushort3);
10133ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtp(ushort3);
10134ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtn(ushort3);
10135ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtn(ushort3);
10136ulong3 const_func __attribute__((overloadable)) convert_ulong3(ushort3);
10137ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat(ushort3);
10138ulong3 const_func __attribute__((overloadable)) convert_ulong3_rte(int3);
10139ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rte(int3);
10140ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtz(int3);
10141ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtz(int3);
10142ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtp(int3);
10143ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtp(int3);
10144ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtn(int3);
10145ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtn(int3);
10146ulong3 const_func __attribute__((overloadable)) convert_ulong3(int3);
10147ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat(int3);
10148ulong3 const_func __attribute__((overloadable)) convert_ulong3_rte(uint3);
10149ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rte(uint3);
10150ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtz(uint3);
10151ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtz(uint3);
10152ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtp(uint3);
10153ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtp(uint3);
10154ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtn(uint3);
10155ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtn(uint3);
10156ulong3 const_func __attribute__((overloadable)) convert_ulong3(uint3);
10157ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat(uint3);
10158ulong3 const_func __attribute__((overloadable)) convert_ulong3_rte(long3);
10159ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rte(long3);
10160ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtz(long3);
10161ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtz(long3);
10162ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtp(long3);
10163ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtp(long3);
10164ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtn(long3);
10165ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtn(long3);
10166ulong3 const_func __attribute__((overloadable)) convert_ulong3(long3);
10167ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat(long3);
10168ulong3 const_func __attribute__((overloadable)) convert_ulong3_rte(ulong3);
10169ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rte(ulong3);
10170ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtz(ulong3);
10171ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtz(ulong3);
10172ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtp(ulong3);
10173ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtp(ulong3);
10174ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtn(ulong3);
10175ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtn(ulong3);
10176ulong3 const_func __attribute__((overloadable)) convert_ulong3(ulong3);
10177ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat(ulong3);
10178ulong3 const_func __attribute__((overloadable)) convert_ulong3_rte(float3);
10179ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rte(float3);
10180ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtz(float3);
10181ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtz(float3);
10182ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtp(float3);
10183ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtp(float3);
10184ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtn(float3);
10185ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtn(float3);
10186ulong3 const_func __attribute__((overloadable)) convert_ulong3(float3);
10187ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat(float3);
10188ulong3 const_func __attribute__((overloadable)) convert_ulong3_rte(double3);
10189ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rte(double3);
10190ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtz(double3);
10191ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtz(double3);
10192ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtp(double3);
10193ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtp(double3);
10194ulong3 const_func __attribute__((overloadable)) convert_ulong3_rtn(double3);
10195ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat_rtn(double3);
10196ulong3 const_func __attribute__((overloadable)) convert_ulong3(double3);
10197ulong3 const_func __attribute__((overloadable)) convert_ulong3_sat(double3);
10198float3 const_func __attribute__((overloadable)) convert_float3_rte(char3);
10199float3 const_func __attribute__((overloadable)) convert_float3_rtz(char3);
10200float3 const_func __attribute__((overloadable)) convert_float3_rtp(char3);
10201float3 const_func __attribute__((overloadable)) convert_float3_rtn(char3);
10202float3 const_func __attribute__((overloadable)) convert_float3(char3);
10203float3 const_func __attribute__((overloadable)) convert_float3_rte(uchar3);
10204float3 const_func __attribute__((overloadable)) convert_float3_rtz(uchar3);
10205float3 const_func __attribute__((overloadable)) convert_float3_rtp(uchar3);
10206float3 const_func __attribute__((overloadable)) convert_float3_rtn(uchar3);
10207float3 const_func __attribute__((overloadable)) convert_float3(uchar3);
10208float3 const_func __attribute__((overloadable)) convert_float3_rte(short3);
10209float3 const_func __attribute__((overloadable)) convert_float3_rtz(short3);
10210float3 const_func __attribute__((overloadable)) convert_float3_rtp(short3);
10211float3 const_func __attribute__((overloadable)) convert_float3_rtn(short3);
10212float3 const_func __attribute__((overloadable)) convert_float3(short3);
10213float3 const_func __attribute__((overloadable)) convert_float3_rte(ushort3);
10214float3 const_func __attribute__((overloadable)) convert_float3_rtz(ushort3);
10215float3 const_func __attribute__((overloadable)) convert_float3_rtp(ushort3);
10216float3 const_func __attribute__((overloadable)) convert_float3_rtn(ushort3);
10217float3 const_func __attribute__((overloadable)) convert_float3(ushort3);
10218float3 const_func __attribute__((overloadable)) convert_float3_rte(int3);
10219float3 const_func __attribute__((overloadable)) convert_float3_rtz(int3);
10220float3 const_func __attribute__((overloadable)) convert_float3_rtp(int3);
10221float3 const_func __attribute__((overloadable)) convert_float3_rtn(int3);
10222float3 const_func __attribute__((overloadable)) convert_float3(int3);
10223float3 const_func __attribute__((overloadable)) convert_float3_rte(uint3);
10224float3 const_func __attribute__((overloadable)) convert_float3_rtz(uint3);
10225float3 const_func __attribute__((overloadable)) convert_float3_rtp(uint3);
10226float3 const_func __attribute__((overloadable)) convert_float3_rtn(uint3);
10227float3 const_func __attribute__((overloadable)) convert_float3(uint3);
10228float3 const_func __attribute__((overloadable)) convert_float3_rte(long3);
10229float3 const_func __attribute__((overloadable)) convert_float3_rtz(long3);
10230float3 const_func __attribute__((overloadable)) convert_float3_rtp(long3);
10231float3 const_func __attribute__((overloadable)) convert_float3_rtn(long3);
10232float3 const_func __attribute__((overloadable)) convert_float3(long3);
10233float3 const_func __attribute__((overloadable)) convert_float3_rte(ulong3);
10234float3 const_func __attribute__((overloadable)) convert_float3_rtz(ulong3);
10235float3 const_func __attribute__((overloadable)) convert_float3_rtp(ulong3);
10236float3 const_func __attribute__((overloadable)) convert_float3_rtn(ulong3);
10237float3 const_func __attribute__((overloadable)) convert_float3(ulong3);
10238float3 const_func __attribute__((overloadable)) convert_float3_rte(float3);
10239float3 const_func __attribute__((overloadable)) convert_float3_rtz(float3);
10240float3 const_func __attribute__((overloadable)) convert_float3_rtp(float3);
10241float3 const_func __attribute__((overloadable)) convert_float3_rtn(float3);
10242float3 const_func __attribute__((overloadable)) convert_float3(float3);
10243float3 const_func __attribute__((overloadable)) convert_float3_rte(double3);
10244float3 const_func __attribute__((overloadable)) convert_float3_rtz(double3);
10245float3 const_func __attribute__((overloadable)) convert_float3_rtp(double3);
10246float3 const_func __attribute__((overloadable)) convert_float3_rtn(double3);
10247float3 const_func __attribute__((overloadable)) convert_float3(double3);
10248
10249double3 const_func __attribute__((overloadable)) convert_double3_rte(char3);
10250double3 const_func __attribute__((overloadable)) convert_double3_rtz(char3);
10251double3 const_func __attribute__((overloadable)) convert_double3_rtp(char3);
10252double3 const_func __attribute__((overloadable)) convert_double3_rtn(char3);
10253double3 const_func __attribute__((overloadable)) convert_double3(char3);
10254double3 const_func __attribute__((overloadable)) convert_double3_rte(uchar3);
10255double3 const_func __attribute__((overloadable)) convert_double3_rtz(uchar3);
10256double3 const_func __attribute__((overloadable)) convert_double3_rtp(uchar3);
10257double3 const_func __attribute__((overloadable)) convert_double3_rtn(uchar3);
10258double3 const_func __attribute__((overloadable)) convert_double3(uchar3);
10259double3 const_func __attribute__((overloadable)) convert_double3_rte(short3);
10260double3 const_func __attribute__((overloadable)) convert_double3_rtz(short3);
10261double3 const_func __attribute__((overloadable)) convert_double3_rtp(short3);
10262double3 const_func __attribute__((overloadable)) convert_double3_rtn(short3);
10263double3 const_func __attribute__((overloadable)) convert_double3(short3);
10264double3 const_func __attribute__((overloadable)) convert_double3_rte(ushort3);
10265double3 const_func __attribute__((overloadable)) convert_double3_rtz(ushort3);
10266double3 const_func __attribute__((overloadable)) convert_double3_rtp(ushort3);
10267double3 const_func __attribute__((overloadable)) convert_double3_rtn(ushort3);
10268double3 const_func __attribute__((overloadable)) convert_double3(ushort3);
10269double3 const_func __attribute__((overloadable)) convert_double3_rte(int3);
10270double3 const_func __attribute__((overloadable)) convert_double3_rtz(int3);
10271double3 const_func __attribute__((overloadable)) convert_double3_rtp(int3);
10272double3 const_func __attribute__((overloadable)) convert_double3_rtn(int3);
10273double3 const_func __attribute__((overloadable)) convert_double3(int3);
10274double3 const_func __attribute__((overloadable)) convert_double3_rte(uint3);
10275double3 const_func __attribute__((overloadable)) convert_double3_rtz(uint3);
10276double3 const_func __attribute__((overloadable)) convert_double3_rtp(uint3);
10277double3 const_func __attribute__((overloadable)) convert_double3_rtn(uint3);
10278double3 const_func __attribute__((overloadable)) convert_double3(uint3);
10279double3 const_func __attribute__((overloadable)) convert_double3_rte(long3);
10280double3 const_func __attribute__((overloadable)) convert_double3_rtz(long3);
10281double3 const_func __attribute__((overloadable)) convert_double3_rtp(long3);
10282double3 const_func __attribute__((overloadable)) convert_double3_rtn(long3);
10283double3 const_func __attribute__((overloadable)) convert_double3(long3);
10284double3 const_func __attribute__((overloadable)) convert_double3_rte(ulong3);
10285double3 const_func __attribute__((overloadable)) convert_double3_rtz(ulong3);
10286double3 const_func __attribute__((overloadable)) convert_double3_rtp(ulong3);
10287double3 const_func __attribute__((overloadable)) convert_double3_rtn(ulong3);
10288double3 const_func __attribute__((overloadable)) convert_double3(ulong3);
10289double3 const_func __attribute__((overloadable)) convert_double3_rte(float3);
10290double3 const_func __attribute__((overloadable)) convert_double3_rtz(float3);
10291double3 const_func __attribute__((overloadable)) convert_double3_rtp(float3);
10292double3 const_func __attribute__((overloadable)) convert_double3_rtn(float3);
10293double3 const_func __attribute__((overloadable)) convert_double3(float3);
10294double3 const_func __attribute__((overloadable)) convert_double3_rte(double3);
10295double3 const_func __attribute__((overloadable)) convert_double3_rtz(double3);
10296double3 const_func __attribute__((overloadable)) convert_double3_rtp(double3);
10297double3 const_func __attribute__((overloadable)) convert_double3_rtn(double3);
10298double3 const_func __attribute__((overloadable)) convert_double3(double3);
10299
10300char4 const_func __attribute__((overloadable)) convert_char4_rte(char4);
10301char4 const_func __attribute__((overloadable)) convert_char4_sat_rte(char4);
10302char4 const_func __attribute__((overloadable)) convert_char4_rtz(char4);
10303char4 const_func __attribute__((overloadable)) convert_char4_sat_rtz(char4);
10304char4 const_func __attribute__((overloadable)) convert_char4_rtp(char4);
10305char4 const_func __attribute__((overloadable)) convert_char4_sat_rtp(char4);
10306char4 const_func __attribute__((overloadable)) convert_char4_rtn(char4);
10307char4 const_func __attribute__((overloadable)) convert_char4_sat_rtn(char4);
10308char4 const_func __attribute__((overloadable)) convert_char4(char4);
10309char4 const_func __attribute__((overloadable)) convert_char4_sat(char4);
10310char4 const_func __attribute__((overloadable)) convert_char4_rte(uchar4);
10311char4 const_func __attribute__((overloadable)) convert_char4_sat_rte(uchar4);
10312char4 const_func __attribute__((overloadable)) convert_char4_rtz(uchar4);
10313char4 const_func __attribute__((overloadable)) convert_char4_sat_rtz(uchar4);
10314char4 const_func __attribute__((overloadable)) convert_char4_rtp(uchar4);
10315char4 const_func __attribute__((overloadable)) convert_char4_sat_rtp(uchar4);
10316char4 const_func __attribute__((overloadable)) convert_char4_rtn(uchar4);
10317char4 const_func __attribute__((overloadable)) convert_char4_sat_rtn(uchar4);
10318char4 const_func __attribute__((overloadable)) convert_char4(uchar4);
10319char4 const_func __attribute__((overloadable)) convert_char4_sat(uchar4);
10320char4 const_func __attribute__((overloadable)) convert_char4_rte(short4);
10321char4 const_func __attribute__((overloadable)) convert_char4_sat_rte(short4);
10322char4 const_func __attribute__((overloadable)) convert_char4_rtz(short4);
10323char4 const_func __attribute__((overloadable)) convert_char4_sat_rtz(short4);
10324char4 const_func __attribute__((overloadable)) convert_char4_rtp(short4);
10325char4 const_func __attribute__((overloadable)) convert_char4_sat_rtp(short4);
10326char4 const_func __attribute__((overloadable)) convert_char4_rtn(short4);
10327char4 const_func __attribute__((overloadable)) convert_char4_sat_rtn(short4);
10328char4 const_func __attribute__((overloadable)) convert_char4(short4);
10329char4 const_func __attribute__((overloadable)) convert_char4_sat(short4);
10330char4 const_func __attribute__((overloadable)) convert_char4_rte(ushort4);
10331char4 const_func __attribute__((overloadable)) convert_char4_sat_rte(ushort4);
10332char4 const_func __attribute__((overloadable)) convert_char4_rtz(ushort4);
10333char4 const_func __attribute__((overloadable)) convert_char4_sat_rtz(ushort4);
10334char4 const_func __attribute__((overloadable)) convert_char4_rtp(ushort4);
10335char4 const_func __attribute__((overloadable)) convert_char4_sat_rtp(ushort4);
10336char4 const_func __attribute__((overloadable)) convert_char4_rtn(ushort4);
10337char4 const_func __attribute__((overloadable)) convert_char4_sat_rtn(ushort4);
10338char4 const_func __attribute__((overloadable)) convert_char4(ushort4);
10339char4 const_func __attribute__((overloadable)) convert_char4_sat(ushort4);
10340char4 const_func __attribute__((overloadable)) convert_char4_rte(int4);
10341char4 const_func __attribute__((overloadable)) convert_char4_sat_rte(int4);
10342char4 const_func __attribute__((overloadable)) convert_char4_rtz(int4);
10343char4 const_func __attribute__((overloadable)) convert_char4_sat_rtz(int4);
10344char4 const_func __attribute__((overloadable)) convert_char4_rtp(int4);
10345char4 const_func __attribute__((overloadable)) convert_char4_sat_rtp(int4);
10346char4 const_func __attribute__((overloadable)) convert_char4_rtn(int4);
10347char4 const_func __attribute__((overloadable)) convert_char4_sat_rtn(int4);
10348char4 const_func __attribute__((overloadable)) convert_char4(int4);
10349char4 const_func __attribute__((overloadable)) convert_char4_sat(int4);
10350char4 const_func __attribute__((overloadable)) convert_char4_rte(uint4);
10351char4 const_func __attribute__((overloadable)) convert_char4_sat_rte(uint4);
10352char4 const_func __attribute__((overloadable)) convert_char4_rtz(uint4);
10353char4 const_func __attribute__((overloadable)) convert_char4_sat_rtz(uint4);
10354char4 const_func __attribute__((overloadable)) convert_char4_rtp(uint4);
10355char4 const_func __attribute__((overloadable)) convert_char4_sat_rtp(uint4);
10356char4 const_func __attribute__((overloadable)) convert_char4_rtn(uint4);
10357char4 const_func __attribute__((overloadable)) convert_char4_sat_rtn(uint4);
10358char4 const_func __attribute__((overloadable)) convert_char4(uint4);
10359char4 const_func __attribute__((overloadable)) convert_char4_sat(uint4);
10360char4 const_func __attribute__((overloadable)) convert_char4_rte(long4);
10361char4 const_func __attribute__((overloadable)) convert_char4_sat_rte(long4);
10362char4 const_func __attribute__((overloadable)) convert_char4_rtz(long4);
10363char4 const_func __attribute__((overloadable)) convert_char4_sat_rtz(long4);
10364char4 const_func __attribute__((overloadable)) convert_char4_rtp(long4);
10365char4 const_func __attribute__((overloadable)) convert_char4_sat_rtp(long4);
10366char4 const_func __attribute__((overloadable)) convert_char4_rtn(long4);
10367char4 const_func __attribute__((overloadable)) convert_char4_sat_rtn(long4);
10368char4 const_func __attribute__((overloadable)) convert_char4(long4);
10369char4 const_func __attribute__((overloadable)) convert_char4_sat(long4);
10370char4 const_func __attribute__((overloadable)) convert_char4_rte(ulong4);
10371char4 const_func __attribute__((overloadable)) convert_char4_sat_rte(ulong4);
10372char4 const_func __attribute__((overloadable)) convert_char4_rtz(ulong4);
10373char4 const_func __attribute__((overloadable)) convert_char4_sat_rtz(ulong4);
10374char4 const_func __attribute__((overloadable)) convert_char4_rtp(ulong4);
10375char4 const_func __attribute__((overloadable)) convert_char4_sat_rtp(ulong4);
10376char4 const_func __attribute__((overloadable)) convert_char4_rtn(ulong4);
10377char4 const_func __attribute__((overloadable)) convert_char4_sat_rtn(ulong4);
10378char4 const_func __attribute__((overloadable)) convert_char4(ulong4);
10379char4 const_func __attribute__((overloadable)) convert_char4_sat(ulong4);
10380char4 const_func __attribute__((overloadable)) convert_char4_rte(float4);
10381char4 const_func __attribute__((overloadable)) convert_char4_sat_rte(float4);
10382char4 const_func __attribute__((overloadable)) convert_char4_rtz(float4);
10383char4 const_func __attribute__((overloadable)) convert_char4_sat_rtz(float4);
10384char4 const_func __attribute__((overloadable)) convert_char4_rtp(float4);
10385char4 const_func __attribute__((overloadable)) convert_char4_sat_rtp(float4);
10386char4 const_func __attribute__((overloadable)) convert_char4_rtn(float4);
10387char4 const_func __attribute__((overloadable)) convert_char4_sat_rtn(float4);
10388char4 const_func __attribute__((overloadable)) convert_char4(float4);
10389char4 const_func __attribute__((overloadable)) convert_char4_sat(float4);
10390char4 const_func __attribute__((overloadable)) convert_char4_rte(double4);
10391char4 const_func __attribute__((overloadable)) convert_char4_sat_rte(double4);
10392char4 const_func __attribute__((overloadable)) convert_char4_rtz(double4);
10393char4 const_func __attribute__((overloadable)) convert_char4_sat_rtz(double4);
10394char4 const_func __attribute__((overloadable)) convert_char4_rtp(double4);
10395char4 const_func __attribute__((overloadable)) convert_char4_sat_rtp(double4);
10396char4 const_func __attribute__((overloadable)) convert_char4_rtn(double4);
10397char4 const_func __attribute__((overloadable)) convert_char4_sat_rtn(double4);
10398char4 const_func __attribute__((overloadable)) convert_char4(double4);
10399char4 const_func __attribute__((overloadable)) convert_char4_sat(double4);
10400
10401uchar4 const_func __attribute__((overloadable)) convert_uchar4_rte(char4);
10402uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rte(char4);
10403uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtz(char4);
10404uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtz(char4);
10405uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtp(char4);
10406uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtp(char4);
10407uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtn(char4);
10408uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtn(char4);
10409uchar4 const_func __attribute__((overloadable)) convert_uchar4(char4);
10410uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat(char4);
10411uchar4 const_func __attribute__((overloadable)) convert_uchar4_rte(uchar4);
10412uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rte(uchar4);
10413uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtz(uchar4);
10414uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtz(uchar4);
10415uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtp(uchar4);
10416uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtp(uchar4);
10417uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtn(uchar4);
10418uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtn(uchar4);
10419uchar4 const_func __attribute__((overloadable)) convert_uchar4(uchar4);
10420uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat(uchar4);
10421uchar4 const_func __attribute__((overloadable)) convert_uchar4_rte(short4);
10422uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rte(short4);
10423uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtz(short4);
10424uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtz(short4);
10425uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtp(short4);
10426uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtp(short4);
10427uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtn(short4);
10428uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtn(short4);
10429uchar4 const_func __attribute__((overloadable)) convert_uchar4(short4);
10430uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat(short4);
10431uchar4 const_func __attribute__((overloadable)) convert_uchar4_rte(ushort4);
10432uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rte(ushort4);
10433uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtz(ushort4);
10434uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtz(ushort4);
10435uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtp(ushort4);
10436uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtp(ushort4);
10437uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtn(ushort4);
10438uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtn(ushort4);
10439uchar4 const_func __attribute__((overloadable)) convert_uchar4(ushort4);
10440uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat(ushort4);
10441uchar4 const_func __attribute__((overloadable)) convert_uchar4_rte(int4);
10442uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rte(int4);
10443uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtz(int4);
10444uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtz(int4);
10445uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtp(int4);
10446uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtp(int4);
10447uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtn(int4);
10448uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtn(int4);
10449uchar4 const_func __attribute__((overloadable)) convert_uchar4(int4);
10450uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat(int4);
10451uchar4 const_func __attribute__((overloadable)) convert_uchar4_rte(uint4);
10452uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rte(uint4);
10453uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtz(uint4);
10454uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtz(uint4);
10455uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtp(uint4);
10456uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtp(uint4);
10457uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtn(uint4);
10458uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtn(uint4);
10459uchar4 const_func __attribute__((overloadable)) convert_uchar4(uint4);
10460uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat(uint4);
10461uchar4 const_func __attribute__((overloadable)) convert_uchar4_rte(long4);
10462uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rte(long4);
10463uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtz(long4);
10464uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtz(long4);
10465uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtp(long4);
10466uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtp(long4);
10467uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtn(long4);
10468uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtn(long4);
10469uchar4 const_func __attribute__((overloadable)) convert_uchar4(long4);
10470uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat(long4);
10471uchar4 const_func __attribute__((overloadable)) convert_uchar4_rte(ulong4);
10472uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rte(ulong4);
10473uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtz(ulong4);
10474uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtz(ulong4);
10475uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtp(ulong4);
10476uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtp(ulong4);
10477uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtn(ulong4);
10478uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtn(ulong4);
10479uchar4 const_func __attribute__((overloadable)) convert_uchar4(ulong4);
10480uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat(ulong4);
10481uchar4 const_func __attribute__((overloadable)) convert_uchar4_rte(float4);
10482uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rte(float4);
10483uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtz(float4);
10484uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtz(float4);
10485uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtp(float4);
10486uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtp(float4);
10487uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtn(float4);
10488uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtn(float4);
10489uchar4 const_func __attribute__((overloadable)) convert_uchar4(float4);
10490uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat(float4);
10491uchar4 const_func __attribute__((overloadable)) convert_uchar4_rte(double4);
10492uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rte(double4);
10493uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtz(double4);
10494uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtz(double4);
10495uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtp(double4);
10496uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtp(double4);
10497uchar4 const_func __attribute__((overloadable)) convert_uchar4_rtn(double4);
10498uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat_rtn(double4);
10499uchar4 const_func __attribute__((overloadable)) convert_uchar4(double4);
10500uchar4 const_func __attribute__((overloadable)) convert_uchar4_sat(double4);
10501
10502short4 const_func __attribute__((overloadable)) convert_short4_rte(char4);
10503short4 const_func __attribute__((overloadable)) convert_short4_sat_rte(char4);
10504short4 const_func __attribute__((overloadable)) convert_short4_rtz(char4);
10505short4 const_func __attribute__((overloadable)) convert_short4_sat_rtz(char4);
10506short4 const_func __attribute__((overloadable)) convert_short4_rtp(char4);
10507short4 const_func __attribute__((overloadable)) convert_short4_sat_rtp(char4);
10508short4 const_func __attribute__((overloadable)) convert_short4_rtn(char4);
10509short4 const_func __attribute__((overloadable)) convert_short4_sat_rtn(char4);
10510short4 const_func __attribute__((overloadable)) convert_short4(char4);
10511short4 const_func __attribute__((overloadable)) convert_short4_sat(char4);
10512short4 const_func __attribute__((overloadable)) convert_short4_rte(uchar4);
10513short4 const_func __attribute__((overloadable)) convert_short4_sat_rte(uchar4);
10514short4 const_func __attribute__((overloadable)) convert_short4_rtz(uchar4);
10515short4 const_func __attribute__((overloadable)) convert_short4_sat_rtz(uchar4);
10516short4 const_func __attribute__((overloadable)) convert_short4_rtp(uchar4);
10517short4 const_func __attribute__((overloadable)) convert_short4_sat_rtp(uchar4);
10518short4 const_func __attribute__((overloadable)) convert_short4_rtn(uchar4);
10519short4 const_func __attribute__((overloadable)) convert_short4_sat_rtn(uchar4);
10520short4 const_func __attribute__((overloadable)) convert_short4(uchar4);
10521short4 const_func __attribute__((overloadable)) convert_short4_sat(uchar4);
10522short4 const_func __attribute__((overloadable)) convert_short4_rte(short4);
10523short4 const_func __attribute__((overloadable)) convert_short4_sat_rte(short4);
10524short4 const_func __attribute__((overloadable)) convert_short4_rtz(short4);
10525short4 const_func __attribute__((overloadable)) convert_short4_sat_rtz(short4);
10526short4 const_func __attribute__((overloadable)) convert_short4_rtp(short4);
10527short4 const_func __attribute__((overloadable)) convert_short4_sat_rtp(short4);
10528short4 const_func __attribute__((overloadable)) convert_short4_rtn(short4);
10529short4 const_func __attribute__((overloadable)) convert_short4_sat_rtn(short4);
10530short4 const_func __attribute__((overloadable)) convert_short4(short4);
10531short4 const_func __attribute__((overloadable)) convert_short4_sat(short4);
10532short4 const_func __attribute__((overloadable)) convert_short4_rte(ushort4);
10533short4 const_func __attribute__((overloadable)) convert_short4_sat_rte(ushort4);
10534short4 const_func __attribute__((overloadable)) convert_short4_rtz(ushort4);
10535short4 const_func __attribute__((overloadable)) convert_short4_sat_rtz(ushort4);
10536short4 const_func __attribute__((overloadable)) convert_short4_rtp(ushort4);
10537short4 const_func __attribute__((overloadable)) convert_short4_sat_rtp(ushort4);
10538short4 const_func __attribute__((overloadable)) convert_short4_rtn(ushort4);
10539short4 const_func __attribute__((overloadable)) convert_short4_sat_rtn(ushort4);
10540short4 const_func __attribute__((overloadable)) convert_short4(ushort4);
10541short4 const_func __attribute__((overloadable)) convert_short4_sat(ushort4);
10542short4 const_func __attribute__((overloadable)) convert_short4_rte(int4);
10543short4 const_func __attribute__((overloadable)) convert_short4_sat_rte(int4);
10544short4 const_func __attribute__((overloadable)) convert_short4_rtz(int4);
10545short4 const_func __attribute__((overloadable)) convert_short4_sat_rtz(int4);
10546short4 const_func __attribute__((overloadable)) convert_short4_rtp(int4);
10547short4 const_func __attribute__((overloadable)) convert_short4_sat_rtp(int4);
10548short4 const_func __attribute__((overloadable)) convert_short4_rtn(int4);
10549short4 const_func __attribute__((overloadable)) convert_short4_sat_rtn(int4);
10550short4 const_func __attribute__((overloadable)) convert_short4(int4);
10551short4 const_func __attribute__((overloadable)) convert_short4_sat(int4);
10552short4 const_func __attribute__((overloadable)) convert_short4_rte(uint4);
10553short4 const_func __attribute__((overloadable)) convert_short4_sat_rte(uint4);
10554short4 const_func __attribute__((overloadable)) convert_short4_rtz(uint4);
10555short4 const_func __attribute__((overloadable)) convert_short4_sat_rtz(uint4);
10556short4 const_func __attribute__((overloadable)) convert_short4_rtp(uint4);
10557short4 const_func __attribute__((overloadable)) convert_short4_sat_rtp(uint4);
10558short4 const_func __attribute__((overloadable)) convert_short4_rtn(uint4);
10559short4 const_func __attribute__((overloadable)) convert_short4_sat_rtn(uint4);
10560short4 const_func __attribute__((overloadable)) convert_short4(uint4);
10561short4 const_func __attribute__((overloadable)) convert_short4_sat(uint4);
10562short4 const_func __attribute__((overloadable)) convert_short4_rte(long4);
10563short4 const_func __attribute__((overloadable)) convert_short4_sat_rte(long4);
10564short4 const_func __attribute__((overloadable)) convert_short4_rtz(long4);
10565short4 const_func __attribute__((overloadable)) convert_short4_sat_rtz(long4);
10566short4 const_func __attribute__((overloadable)) convert_short4_rtp(long4);
10567short4 const_func __attribute__((overloadable)) convert_short4_sat_rtp(long4);
10568short4 const_func __attribute__((overloadable)) convert_short4_rtn(long4);
10569short4 const_func __attribute__((overloadable)) convert_short4_sat_rtn(long4);
10570short4 const_func __attribute__((overloadable)) convert_short4(long4);
10571short4 const_func __attribute__((overloadable)) convert_short4_sat(long4);
10572short4 const_func __attribute__((overloadable)) convert_short4_rte(ulong4);
10573short4 const_func __attribute__((overloadable)) convert_short4_sat_rte(ulong4);
10574short4 const_func __attribute__((overloadable)) convert_short4_rtz(ulong4);
10575short4 const_func __attribute__((overloadable)) convert_short4_sat_rtz(ulong4);
10576short4 const_func __attribute__((overloadable)) convert_short4_rtp(ulong4);
10577short4 const_func __attribute__((overloadable)) convert_short4_sat_rtp(ulong4);
10578short4 const_func __attribute__((overloadable)) convert_short4_rtn(ulong4);
10579short4 const_func __attribute__((overloadable)) convert_short4_sat_rtn(ulong4);
10580short4 const_func __attribute__((overloadable)) convert_short4(ulong4);
10581short4 const_func __attribute__((overloadable)) convert_short4_sat(ulong4);
10582short4 const_func __attribute__((overloadable)) convert_short4_rte(float4);
10583short4 const_func __attribute__((overloadable)) convert_short4_sat_rte(float4);
10584short4 const_func __attribute__((overloadable)) convert_short4_rtz(float4);
10585short4 const_func __attribute__((overloadable)) convert_short4_sat_rtz(float4);
10586short4 const_func __attribute__((overloadable)) convert_short4_rtp(float4);
10587short4 const_func __attribute__((overloadable)) convert_short4_sat_rtp(float4);
10588short4 const_func __attribute__((overloadable)) convert_short4_rtn(float4);
10589short4 const_func __attribute__((overloadable)) convert_short4_sat_rtn(float4);
10590short4 const_func __attribute__((overloadable)) convert_short4(float4);
10591short4 const_func __attribute__((overloadable)) convert_short4_sat(float4);
10592short4 const_func __attribute__((overloadable)) convert_short4_rte(double4);
10593short4 const_func __attribute__((overloadable)) convert_short4_sat_rte(double4);
10594short4 const_func __attribute__((overloadable)) convert_short4_rtz(double4);
10595short4 const_func __attribute__((overloadable)) convert_short4_sat_rtz(double4);
10596short4 const_func __attribute__((overloadable)) convert_short4_rtp(double4);
10597short4 const_func __attribute__((overloadable)) convert_short4_sat_rtp(double4);
10598short4 const_func __attribute__((overloadable)) convert_short4_rtn(double4);
10599short4 const_func __attribute__((overloadable)) convert_short4_sat_rtn(double4);
10600short4 const_func __attribute__((overloadable)) convert_short4(double4);
10601short4 const_func __attribute__((overloadable)) convert_short4_sat(double4);
10602
10603ushort4 const_func __attribute__((overloadable)) convert_ushort4_rte(char4);
10604ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rte(char4);
10605ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtz(char4);
10606ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtz(char4);
10607ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtp(char4);
10608ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtp(char4);
10609ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtn(char4);
10610ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtn(char4);
10611ushort4 const_func __attribute__((overloadable)) convert_ushort4(char4);
10612ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat(char4);
10613ushort4 const_func __attribute__((overloadable)) convert_ushort4_rte(uchar4);
10614ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rte(uchar4);
10615ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtz(uchar4);
10616ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtz(uchar4);
10617ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtp(uchar4);
10618ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtp(uchar4);
10619ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtn(uchar4);
10620ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtn(uchar4);
10621ushort4 const_func __attribute__((overloadable)) convert_ushort4(uchar4);
10622ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat(uchar4);
10623ushort4 const_func __attribute__((overloadable)) convert_ushort4_rte(short4);
10624ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rte(short4);
10625ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtz(short4);
10626ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtz(short4);
10627ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtp(short4);
10628ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtp(short4);
10629ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtn(short4);
10630ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtn(short4);
10631ushort4 const_func __attribute__((overloadable)) convert_ushort4(short4);
10632ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat(short4);
10633ushort4 const_func __attribute__((overloadable)) convert_ushort4_rte(ushort4);
10634ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rte(ushort4);
10635ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtz(ushort4);
10636ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtz(ushort4);
10637ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtp(ushort4);
10638ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtp(ushort4);
10639ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtn(ushort4);
10640ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtn(ushort4);
10641ushort4 const_func __attribute__((overloadable)) convert_ushort4(ushort4);
10642ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat(ushort4);
10643ushort4 const_func __attribute__((overloadable)) convert_ushort4_rte(int4);
10644ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rte(int4);
10645ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtz(int4);
10646ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtz(int4);
10647ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtp(int4);
10648ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtp(int4);
10649ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtn(int4);
10650ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtn(int4);
10651ushort4 const_func __attribute__((overloadable)) convert_ushort4(int4);
10652ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat(int4);
10653ushort4 const_func __attribute__((overloadable)) convert_ushort4_rte(uint4);
10654ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rte(uint4);
10655ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtz(uint4);
10656ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtz(uint4);
10657ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtp(uint4);
10658ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtp(uint4);
10659ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtn(uint4);
10660ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtn(uint4);
10661ushort4 const_func __attribute__((overloadable)) convert_ushort4(uint4);
10662ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat(uint4);
10663ushort4 const_func __attribute__((overloadable)) convert_ushort4_rte(long4);
10664ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rte(long4);
10665ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtz(long4);
10666ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtz(long4);
10667ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtp(long4);
10668ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtp(long4);
10669ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtn(long4);
10670ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtn(long4);
10671ushort4 const_func __attribute__((overloadable)) convert_ushort4(long4);
10672ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat(long4);
10673ushort4 const_func __attribute__((overloadable)) convert_ushort4_rte(ulong4);
10674ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rte(ulong4);
10675ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtz(ulong4);
10676ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtz(ulong4);
10677ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtp(ulong4);
10678ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtp(ulong4);
10679ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtn(ulong4);
10680ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtn(ulong4);
10681ushort4 const_func __attribute__((overloadable)) convert_ushort4(ulong4);
10682ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat(ulong4);
10683ushort4 const_func __attribute__((overloadable)) convert_ushort4_rte(float4);
10684ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rte(float4);
10685ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtz(float4);
10686ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtz(float4);
10687ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtp(float4);
10688ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtp(float4);
10689ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtn(float4);
10690ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtn(float4);
10691ushort4 const_func __attribute__((overloadable)) convert_ushort4(float4);
10692ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat(float4);
10693ushort4 const_func __attribute__((overloadable)) convert_ushort4_rte(double4);
10694ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rte(double4);
10695ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtz(double4);
10696ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtz(double4);
10697ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtp(double4);
10698ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtp(double4);
10699ushort4 const_func __attribute__((overloadable)) convert_ushort4_rtn(double4);
10700ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat_rtn(double4);
10701ushort4 const_func __attribute__((overloadable)) convert_ushort4(double4);
10702ushort4 const_func __attribute__((overloadable)) convert_ushort4_sat(double4);
10703
10704int4 const_func __attribute__((overloadable)) convert_int4_rte(char4);
10705int4 const_func __attribute__((overloadable)) convert_int4_sat_rte(char4);
10706int4 const_func __attribute__((overloadable)) convert_int4_rtz(char4);
10707int4 const_func __attribute__((overloadable)) convert_int4_sat_rtz(char4);
10708int4 const_func __attribute__((overloadable)) convert_int4_rtp(char4);
10709int4 const_func __attribute__((overloadable)) convert_int4_sat_rtp(char4);
10710int4 const_func __attribute__((overloadable)) convert_int4_rtn(char4);
10711int4 const_func __attribute__((overloadable)) convert_int4_sat_rtn(char4);
10712int4 const_func __attribute__((overloadable)) convert_int4(char4);
10713int4 const_func __attribute__((overloadable)) convert_int4_sat(char4);
10714int4 const_func __attribute__((overloadable)) convert_int4_rte(uchar4);
10715int4 const_func __attribute__((overloadable)) convert_int4_sat_rte(uchar4);
10716int4 const_func __attribute__((overloadable)) convert_int4_rtz(uchar4);
10717int4 const_func __attribute__((overloadable)) convert_int4_sat_rtz(uchar4);
10718int4 const_func __attribute__((overloadable)) convert_int4_rtp(uchar4);
10719int4 const_func __attribute__((overloadable)) convert_int4_sat_rtp(uchar4);
10720int4 const_func __attribute__((overloadable)) convert_int4_rtn(uchar4);
10721int4 const_func __attribute__((overloadable)) convert_int4_sat_rtn(uchar4);
10722int4 const_func __attribute__((overloadable)) convert_int4(uchar4);
10723int4 const_func __attribute__((overloadable)) convert_int4_sat(uchar4);
10724int4 const_func __attribute__((overloadable)) convert_int4_rte(short4);
10725int4 const_func __attribute__((overloadable)) convert_int4_sat_rte(short4);
10726int4 const_func __attribute__((overloadable)) convert_int4_rtz(short4);
10727int4 const_func __attribute__((overloadable)) convert_int4_sat_rtz(short4);
10728int4 const_func __attribute__((overloadable)) convert_int4_rtp(short4);
10729int4 const_func __attribute__((overloadable)) convert_int4_sat_rtp(short4);
10730int4 const_func __attribute__((overloadable)) convert_int4_rtn(short4);
10731int4 const_func __attribute__((overloadable)) convert_int4_sat_rtn(short4);
10732int4 const_func __attribute__((overloadable)) convert_int4(short4);
10733int4 const_func __attribute__((overloadable)) convert_int4_sat(short4);
10734int4 const_func __attribute__((overloadable)) convert_int4_rte(ushort4);
10735int4 const_func __attribute__((overloadable)) convert_int4_sat_rte(ushort4);
10736int4 const_func __attribute__((overloadable)) convert_int4_rtz(ushort4);
10737int4 const_func __attribute__((overloadable)) convert_int4_sat_rtz(ushort4);
10738int4 const_func __attribute__((overloadable)) convert_int4_rtp(ushort4);
10739int4 const_func __attribute__((overloadable)) convert_int4_sat_rtp(ushort4);
10740int4 const_func __attribute__((overloadable)) convert_int4_rtn(ushort4);
10741int4 const_func __attribute__((overloadable)) convert_int4_sat_rtn(ushort4);
10742int4 const_func __attribute__((overloadable)) convert_int4(ushort4);
10743int4 const_func __attribute__((overloadable)) convert_int4_sat(ushort4);
10744int4 const_func __attribute__((overloadable)) convert_int4_rte(int4);
10745int4 const_func __attribute__((overloadable)) convert_int4_sat_rte(int4);
10746int4 const_func __attribute__((overloadable)) convert_int4_rtz(int4);
10747int4 const_func __attribute__((overloadable)) convert_int4_sat_rtz(int4);
10748int4 const_func __attribute__((overloadable)) convert_int4_rtp(int4);
10749int4 const_func __attribute__((overloadable)) convert_int4_sat_rtp(int4);
10750int4 const_func __attribute__((overloadable)) convert_int4_rtn(int4);
10751int4 const_func __attribute__((overloadable)) convert_int4_sat_rtn(int4);
10752int4 const_func __attribute__((overloadable)) convert_int4(int4);
10753int4 const_func __attribute__((overloadable)) convert_int4_sat(int4);
10754int4 const_func __attribute__((overloadable)) convert_int4_rte(uint4);
10755int4 const_func __attribute__((overloadable)) convert_int4_sat_rte(uint4);
10756int4 const_func __attribute__((overloadable)) convert_int4_rtz(uint4);
10757int4 const_func __attribute__((overloadable)) convert_int4_sat_rtz(uint4);
10758int4 const_func __attribute__((overloadable)) convert_int4_rtp(uint4);
10759int4 const_func __attribute__((overloadable)) convert_int4_sat_rtp(uint4);
10760int4 const_func __attribute__((overloadable)) convert_int4_rtn(uint4);
10761int4 const_func __attribute__((overloadable)) convert_int4_sat_rtn(uint4);
10762int4 const_func __attribute__((overloadable)) convert_int4(uint4);
10763int4 const_func __attribute__((overloadable)) convert_int4_sat(uint4);
10764int4 const_func __attribute__((overloadable)) convert_int4_rte(long4);
10765int4 const_func __attribute__((overloadable)) convert_int4_sat_rte(long4);
10766int4 const_func __attribute__((overloadable)) convert_int4_rtz(long4);
10767int4 const_func __attribute__((overloadable)) convert_int4_sat_rtz(long4);
10768int4 const_func __attribute__((overloadable)) convert_int4_rtp(long4);
10769int4 const_func __attribute__((overloadable)) convert_int4_sat_rtp(long4);
10770int4 const_func __attribute__((overloadable)) convert_int4_rtn(long4);
10771int4 const_func __attribute__((overloadable)) convert_int4_sat_rtn(long4);
10772int4 const_func __attribute__((overloadable)) convert_int4(long4);
10773int4 const_func __attribute__((overloadable)) convert_int4_sat(long4);
10774int4 const_func __attribute__((overloadable)) convert_int4_rte(ulong4);
10775int4 const_func __attribute__((overloadable)) convert_int4_sat_rte(ulong4);
10776int4 const_func __attribute__((overloadable)) convert_int4_rtz(ulong4);
10777int4 const_func __attribute__((overloadable)) convert_int4_sat_rtz(ulong4);
10778int4 const_func __attribute__((overloadable)) convert_int4_rtp(ulong4);
10779int4 const_func __attribute__((overloadable)) convert_int4_sat_rtp(ulong4);
10780int4 const_func __attribute__((overloadable)) convert_int4_rtn(ulong4);
10781int4 const_func __attribute__((overloadable)) convert_int4_sat_rtn(ulong4);
10782int4 const_func __attribute__((overloadable)) convert_int4(ulong4);
10783int4 const_func __attribute__((overloadable)) convert_int4_sat(ulong4);
10784int4 const_func __attribute__((overloadable)) convert_int4_rte(float4);
10785int4 const_func __attribute__((overloadable)) convert_int4_sat_rte(float4);
10786int4 const_func __attribute__((overloadable)) convert_int4_rtz(float4);
10787int4 const_func __attribute__((overloadable)) convert_int4_sat_rtz(float4);
10788int4 const_func __attribute__((overloadable)) convert_int4_rtp(float4);
10789int4 const_func __attribute__((overloadable)) convert_int4_sat_rtp(float4);
10790int4 const_func __attribute__((overloadable)) convert_int4_rtn(float4);
10791int4 const_func __attribute__((overloadable)) convert_int4_sat_rtn(float4);
10792int4 const_func __attribute__((overloadable)) convert_int4(float4);
10793int4 const_func __attribute__((overloadable)) convert_int4_sat(float4);
10794int4 const_func __attribute__((overloadable)) convert_int4_rte(double4);
10795int4 const_func __attribute__((overloadable)) convert_int4_sat_rte(double4);
10796int4 const_func __attribute__((overloadable)) convert_int4_rtz(double4);
10797int4 const_func __attribute__((overloadable)) convert_int4_sat_rtz(double4);
10798int4 const_func __attribute__((overloadable)) convert_int4_rtp(double4);
10799int4 const_func __attribute__((overloadable)) convert_int4_sat_rtp(double4);
10800int4 const_func __attribute__((overloadable)) convert_int4_rtn(double4);
10801int4 const_func __attribute__((overloadable)) convert_int4_sat_rtn(double4);
10802int4 const_func __attribute__((overloadable)) convert_int4(double4);
10803int4 const_func __attribute__((overloadable)) convert_int4_sat(double4);
10804
10805uint4 const_func __attribute__((overloadable)) convert_uint4_rte(char4);
10806uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rte(char4);
10807uint4 const_func __attribute__((overloadable)) convert_uint4_rtz(char4);
10808uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtz(char4);
10809uint4 const_func __attribute__((overloadable)) convert_uint4_rtp(char4);
10810uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtp(char4);
10811uint4 const_func __attribute__((overloadable)) convert_uint4_rtn(char4);
10812uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtn(char4);
10813uint4 const_func __attribute__((overloadable)) convert_uint4(char4);
10814uint4 const_func __attribute__((overloadable)) convert_uint4_sat(char4);
10815uint4 const_func __attribute__((overloadable)) convert_uint4_rte(uchar4);
10816uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rte(uchar4);
10817uint4 const_func __attribute__((overloadable)) convert_uint4_rtz(uchar4);
10818uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtz(uchar4);
10819uint4 const_func __attribute__((overloadable)) convert_uint4_rtp(uchar4);
10820uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtp(uchar4);
10821uint4 const_func __attribute__((overloadable)) convert_uint4_rtn(uchar4);
10822uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtn(uchar4);
10823uint4 const_func __attribute__((overloadable)) convert_uint4(uchar4);
10824uint4 const_func __attribute__((overloadable)) convert_uint4_sat(uchar4);
10825uint4 const_func __attribute__((overloadable)) convert_uint4_rte(short4);
10826uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rte(short4);
10827uint4 const_func __attribute__((overloadable)) convert_uint4_rtz(short4);
10828uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtz(short4);
10829uint4 const_func __attribute__((overloadable)) convert_uint4_rtp(short4);
10830uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtp(short4);
10831uint4 const_func __attribute__((overloadable)) convert_uint4_rtn(short4);
10832uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtn(short4);
10833uint4 const_func __attribute__((overloadable)) convert_uint4(short4);
10834uint4 const_func __attribute__((overloadable)) convert_uint4_sat(short4);
10835uint4 const_func __attribute__((overloadable)) convert_uint4_rte(ushort4);
10836uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rte(ushort4);
10837uint4 const_func __attribute__((overloadable)) convert_uint4_rtz(ushort4);
10838uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtz(ushort4);
10839uint4 const_func __attribute__((overloadable)) convert_uint4_rtp(ushort4);
10840uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtp(ushort4);
10841uint4 const_func __attribute__((overloadable)) convert_uint4_rtn(ushort4);
10842uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtn(ushort4);
10843uint4 const_func __attribute__((overloadable)) convert_uint4(ushort4);
10844uint4 const_func __attribute__((overloadable)) convert_uint4_sat(ushort4);
10845uint4 const_func __attribute__((overloadable)) convert_uint4_rte(int4);
10846uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rte(int4);
10847uint4 const_func __attribute__((overloadable)) convert_uint4_rtz(int4);
10848uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtz(int4);
10849uint4 const_func __attribute__((overloadable)) convert_uint4_rtp(int4);
10850uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtp(int4);
10851uint4 const_func __attribute__((overloadable)) convert_uint4_rtn(int4);
10852uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtn(int4);
10853uint4 const_func __attribute__((overloadable)) convert_uint4(int4);
10854uint4 const_func __attribute__((overloadable)) convert_uint4_sat(int4);
10855uint4 const_func __attribute__((overloadable)) convert_uint4_rte(uint4);
10856uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rte(uint4);
10857uint4 const_func __attribute__((overloadable)) convert_uint4_rtz(uint4);
10858uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtz(uint4);
10859uint4 const_func __attribute__((overloadable)) convert_uint4_rtp(uint4);
10860uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtp(uint4);
10861uint4 const_func __attribute__((overloadable)) convert_uint4_rtn(uint4);
10862uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtn(uint4);
10863uint4 const_func __attribute__((overloadable)) convert_uint4(uint4);
10864uint4 const_func __attribute__((overloadable)) convert_uint4_sat(uint4);
10865uint4 const_func __attribute__((overloadable)) convert_uint4_rte(long4);
10866uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rte(long4);
10867uint4 const_func __attribute__((overloadable)) convert_uint4_rtz(long4);
10868uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtz(long4);
10869uint4 const_func __attribute__((overloadable)) convert_uint4_rtp(long4);
10870uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtp(long4);
10871uint4 const_func __attribute__((overloadable)) convert_uint4_rtn(long4);
10872uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtn(long4);
10873uint4 const_func __attribute__((overloadable)) convert_uint4(long4);
10874uint4 const_func __attribute__((overloadable)) convert_uint4_sat(long4);
10875uint4 const_func __attribute__((overloadable)) convert_uint4_rte(ulong4);
10876uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rte(ulong4);
10877uint4 const_func __attribute__((overloadable)) convert_uint4_rtz(ulong4);
10878uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtz(ulong4);
10879uint4 const_func __attribute__((overloadable)) convert_uint4_rtp(ulong4);
10880uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtp(ulong4);
10881uint4 const_func __attribute__((overloadable)) convert_uint4_rtn(ulong4);
10882uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtn(ulong4);
10883uint4 const_func __attribute__((overloadable)) convert_uint4(ulong4);
10884uint4 const_func __attribute__((overloadable)) convert_uint4_sat(ulong4);
10885uint4 const_func __attribute__((overloadable)) convert_uint4_rte(float4);
10886uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rte(float4);
10887uint4 const_func __attribute__((overloadable)) convert_uint4_rtz(float4);
10888uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtz(float4);
10889uint4 const_func __attribute__((overloadable)) convert_uint4_rtp(float4);
10890uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtp(float4);
10891uint4 const_func __attribute__((overloadable)) convert_uint4_rtn(float4);
10892uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtn(float4);
10893uint4 const_func __attribute__((overloadable)) convert_uint4(float4);
10894uint4 const_func __attribute__((overloadable)) convert_uint4_sat(float4);
10895uint4 const_func __attribute__((overloadable)) convert_uint4_rte(double4);
10896uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rte(double4);
10897uint4 const_func __attribute__((overloadable)) convert_uint4_rtz(double4);
10898uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtz(double4);
10899uint4 const_func __attribute__((overloadable)) convert_uint4_rtp(double4);
10900uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtp(double4);
10901uint4 const_func __attribute__((overloadable)) convert_uint4_rtn(double4);
10902uint4 const_func __attribute__((overloadable)) convert_uint4_sat_rtn(double4);
10903uint4 const_func __attribute__((overloadable)) convert_uint4(double4);
10904uint4 const_func __attribute__((overloadable)) convert_uint4_sat(double4);
10905long4 const_func __attribute__((overloadable)) convert_long4_rte(char4);
10906long4 const_func __attribute__((overloadable)) convert_long4_sat_rte(char4);
10907long4 const_func __attribute__((overloadable)) convert_long4_rtz(char4);
10908long4 const_func __attribute__((overloadable)) convert_long4_sat_rtz(char4);
10909long4 const_func __attribute__((overloadable)) convert_long4_rtp(char4);
10910long4 const_func __attribute__((overloadable)) convert_long4_sat_rtp(char4);
10911long4 const_func __attribute__((overloadable)) convert_long4_rtn(char4);
10912long4 const_func __attribute__((overloadable)) convert_long4_sat_rtn(char4);
10913long4 const_func __attribute__((overloadable)) convert_long4(char4);
10914long4 const_func __attribute__((overloadable)) convert_long4_sat(char4);
10915long4 const_func __attribute__((overloadable)) convert_long4_rte(uchar4);
10916long4 const_func __attribute__((overloadable)) convert_long4_sat_rte(uchar4);
10917long4 const_func __attribute__((overloadable)) convert_long4_rtz(uchar4);
10918long4 const_func __attribute__((overloadable)) convert_long4_sat_rtz(uchar4);
10919long4 const_func __attribute__((overloadable)) convert_long4_rtp(uchar4);
10920long4 const_func __attribute__((overloadable)) convert_long4_sat_rtp(uchar4);
10921long4 const_func __attribute__((overloadable)) convert_long4_rtn(uchar4);
10922long4 const_func __attribute__((overloadable)) convert_long4_sat_rtn(uchar4);
10923long4 const_func __attribute__((overloadable)) convert_long4(uchar4);
10924long4 const_func __attribute__((overloadable)) convert_long4_sat(uchar4);
10925long4 const_func __attribute__((overloadable)) convert_long4_rte(short4);
10926long4 const_func __attribute__((overloadable)) convert_long4_sat_rte(short4);
10927long4 const_func __attribute__((overloadable)) convert_long4_rtz(short4);
10928long4 const_func __attribute__((overloadable)) convert_long4_sat_rtz(short4);
10929long4 const_func __attribute__((overloadable)) convert_long4_rtp(short4);
10930long4 const_func __attribute__((overloadable)) convert_long4_sat_rtp(short4);
10931long4 const_func __attribute__((overloadable)) convert_long4_rtn(short4);
10932long4 const_func __attribute__((overloadable)) convert_long4_sat_rtn(short4);
10933long4 const_func __attribute__((overloadable)) convert_long4(short4);
10934long4 const_func __attribute__((overloadable)) convert_long4_sat(short4);
10935long4 const_func __attribute__((overloadable)) convert_long4_rte(ushort4);
10936long4 const_func __attribute__((overloadable)) convert_long4_sat_rte(ushort4);
10937long4 const_func __attribute__((overloadable)) convert_long4_rtz(ushort4);
10938long4 const_func __attribute__((overloadable)) convert_long4_sat_rtz(ushort4);
10939long4 const_func __attribute__((overloadable)) convert_long4_rtp(ushort4);
10940long4 const_func __attribute__((overloadable)) convert_long4_sat_rtp(ushort4);
10941long4 const_func __attribute__((overloadable)) convert_long4_rtn(ushort4);
10942long4 const_func __attribute__((overloadable)) convert_long4_sat_rtn(ushort4);
10943long4 const_func __attribute__((overloadable)) convert_long4(ushort4);
10944long4 const_func __attribute__((overloadable)) convert_long4_sat(ushort4);
10945long4 const_func __attribute__((overloadable)) convert_long4_rte(int4);
10946long4 const_func __attribute__((overloadable)) convert_long4_sat_rte(int4);
10947long4 const_func __attribute__((overloadable)) convert_long4_rtz(int4);
10948long4 const_func __attribute__((overloadable)) convert_long4_sat_rtz(int4);
10949long4 const_func __attribute__((overloadable)) convert_long4_rtp(int4);
10950long4 const_func __attribute__((overloadable)) convert_long4_sat_rtp(int4);
10951long4 const_func __attribute__((overloadable)) convert_long4_rtn(int4);
10952long4 const_func __attribute__((overloadable)) convert_long4_sat_rtn(int4);
10953long4 const_func __attribute__((overloadable)) convert_long4(int4);
10954long4 const_func __attribute__((overloadable)) convert_long4_sat(int4);
10955long4 const_func __attribute__((overloadable)) convert_long4_rte(uint4);
10956long4 const_func __attribute__((overloadable)) convert_long4_sat_rte(uint4);
10957long4 const_func __attribute__((overloadable)) convert_long4_rtz(uint4);
10958long4 const_func __attribute__((overloadable)) convert_long4_sat_rtz(uint4);
10959long4 const_func __attribute__((overloadable)) convert_long4_rtp(uint4);
10960long4 const_func __attribute__((overloadable)) convert_long4_sat_rtp(uint4);
10961long4 const_func __attribute__((overloadable)) convert_long4_rtn(uint4);
10962long4 const_func __attribute__((overloadable)) convert_long4_sat_rtn(uint4);
10963long4 const_func __attribute__((overloadable)) convert_long4(uint4);
10964long4 const_func __attribute__((overloadable)) convert_long4_sat(uint4);
10965long4 const_func __attribute__((overloadable)) convert_long4_rte(long4);
10966long4 const_func __attribute__((overloadable)) convert_long4_sat_rte(long4);
10967long4 const_func __attribute__((overloadable)) convert_long4_rtz(long4);
10968long4 const_func __attribute__((overloadable)) convert_long4_sat_rtz(long4);
10969long4 const_func __attribute__((overloadable)) convert_long4_rtp(long4);
10970long4 const_func __attribute__((overloadable)) convert_long4_sat_rtp(long4);
10971long4 const_func __attribute__((overloadable)) convert_long4_rtn(long4);
10972long4 const_func __attribute__((overloadable)) convert_long4_sat_rtn(long4);
10973long4 const_func __attribute__((overloadable)) convert_long4(long4);
10974long4 const_func __attribute__((overloadable)) convert_long4_sat(long4);
10975long4 const_func __attribute__((overloadable)) convert_long4_rte(ulong4);
10976long4 const_func __attribute__((overloadable)) convert_long4_sat_rte(ulong4);
10977long4 const_func __attribute__((overloadable)) convert_long4_rtz(ulong4);
10978long4 const_func __attribute__((overloadable)) convert_long4_sat_rtz(ulong4);
10979long4 const_func __attribute__((overloadable)) convert_long4_rtp(ulong4);
10980long4 const_func __attribute__((overloadable)) convert_long4_sat_rtp(ulong4);
10981long4 const_func __attribute__((overloadable)) convert_long4_rtn(ulong4);
10982long4 const_func __attribute__((overloadable)) convert_long4_sat_rtn(ulong4);
10983long4 const_func __attribute__((overloadable)) convert_long4(ulong4);
10984long4 const_func __attribute__((overloadable)) convert_long4_sat(ulong4);
10985long4 const_func __attribute__((overloadable)) convert_long4_rte(float4);
10986long4 const_func __attribute__((overloadable)) convert_long4_sat_rte(float4);
10987long4 const_func __attribute__((overloadable)) convert_long4_rtz(float4);
10988long4 const_func __attribute__((overloadable)) convert_long4_sat_rtz(float4);
10989long4 const_func __attribute__((overloadable)) convert_long4_rtp(float4);
10990long4 const_func __attribute__((overloadable)) convert_long4_sat_rtp(float4);
10991long4 const_func __attribute__((overloadable)) convert_long4_rtn(float4);
10992long4 const_func __attribute__((overloadable)) convert_long4_sat_rtn(float4);
10993long4 const_func __attribute__((overloadable)) convert_long4(float4);
10994long4 const_func __attribute__((overloadable)) convert_long4_sat(float4);
10995long4 const_func __attribute__((overloadable)) convert_long4_rte(double4);
10996long4 const_func __attribute__((overloadable)) convert_long4_sat_rte(double4);
10997long4 const_func __attribute__((overloadable)) convert_long4_rtz(double4);
10998long4 const_func __attribute__((overloadable)) convert_long4_sat_rtz(double4);
10999long4 const_func __attribute__((overloadable)) convert_long4_rtp(double4);
11000long4 const_func __attribute__((overloadable)) convert_long4_sat_rtp(double4);
11001long4 const_func __attribute__((overloadable)) convert_long4_rtn(double4);
11002long4 const_func __attribute__((overloadable)) convert_long4_sat_rtn(double4);
11003long4 const_func __attribute__((overloadable)) convert_long4(double4);
11004long4 const_func __attribute__((overloadable)) convert_long4_sat(double4);
11005
11006ulong4 const_func __attribute__((overloadable)) convert_ulong4_rte(char4);
11007ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rte(char4);
11008ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtz(char4);
11009ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtz(char4);
11010ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtp(char4);
11011ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtp(char4);
11012ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtn(char4);
11013ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtn(char4);
11014ulong4 const_func __attribute__((overloadable)) convert_ulong4(char4);
11015ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat(char4);
11016ulong4 const_func __attribute__((overloadable)) convert_ulong4_rte(uchar4);
11017ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rte(uchar4);
11018ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtz(uchar4);
11019ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtz(uchar4);
11020ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtp(uchar4);
11021ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtp(uchar4);
11022ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtn(uchar4);
11023ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtn(uchar4);
11024ulong4 const_func __attribute__((overloadable)) convert_ulong4(uchar4);
11025ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat(uchar4);
11026ulong4 const_func __attribute__((overloadable)) convert_ulong4_rte(short4);
11027ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rte(short4);
11028ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtz(short4);
11029ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtz(short4);
11030ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtp(short4);
11031ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtp(short4);
11032ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtn(short4);
11033ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtn(short4);
11034ulong4 const_func __attribute__((overloadable)) convert_ulong4(short4);
11035ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat(short4);
11036ulong4 const_func __attribute__((overloadable)) convert_ulong4_rte(ushort4);
11037ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rte(ushort4);
11038ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtz(ushort4);
11039ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtz(ushort4);
11040ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtp(ushort4);
11041ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtp(ushort4);
11042ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtn(ushort4);
11043ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtn(ushort4);
11044ulong4 const_func __attribute__((overloadable)) convert_ulong4(ushort4);
11045ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat(ushort4);
11046ulong4 const_func __attribute__((overloadable)) convert_ulong4_rte(int4);
11047ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rte(int4);
11048ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtz(int4);
11049ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtz(int4);
11050ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtp(int4);
11051ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtp(int4);
11052ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtn(int4);
11053ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtn(int4);
11054ulong4 const_func __attribute__((overloadable)) convert_ulong4(int4);
11055ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat(int4);
11056ulong4 const_func __attribute__((overloadable)) convert_ulong4_rte(uint4);
11057ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rte(uint4);
11058ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtz(uint4);
11059ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtz(uint4);
11060ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtp(uint4);
11061ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtp(uint4);
11062ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtn(uint4);
11063ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtn(uint4);
11064ulong4 const_func __attribute__((overloadable)) convert_ulong4(uint4);
11065ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat(uint4);
11066ulong4 const_func __attribute__((overloadable)) convert_ulong4_rte(long4);
11067ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rte(long4);
11068ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtz(long4);
11069ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtz(long4);
11070ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtp(long4);
11071ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtp(long4);
11072ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtn(long4);
11073ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtn(long4);
11074ulong4 const_func __attribute__((overloadable)) convert_ulong4(long4);
11075ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat(long4);
11076ulong4 const_func __attribute__((overloadable)) convert_ulong4_rte(ulong4);
11077ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rte(ulong4);
11078ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtz(ulong4);
11079ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtz(ulong4);
11080ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtp(ulong4);
11081ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtp(ulong4);
11082ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtn(ulong4);
11083ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtn(ulong4);
11084ulong4 const_func __attribute__((overloadable)) convert_ulong4(ulong4);
11085ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat(ulong4);
11086ulong4 const_func __attribute__((overloadable)) convert_ulong4_rte(float4);
11087ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rte(float4);
11088ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtz(float4);
11089ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtz(float4);
11090ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtp(float4);
11091ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtp(float4);
11092ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtn(float4);
11093ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtn(float4);
11094ulong4 const_func __attribute__((overloadable)) convert_ulong4(float4);
11095ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat(float4);
11096ulong4 const_func __attribute__((overloadable)) convert_ulong4_rte(double4);
11097ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rte(double4);
11098ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtz(double4);
11099ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtz(double4);
11100ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtp(double4);
11101ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtp(double4);
11102ulong4 const_func __attribute__((overloadable)) convert_ulong4_rtn(double4);
11103ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat_rtn(double4);
11104ulong4 const_func __attribute__((overloadable)) convert_ulong4(double4);
11105ulong4 const_func __attribute__((overloadable)) convert_ulong4_sat(double4);
11106
11107float4 const_func __attribute__((overloadable)) convert_float4_rte(char4);
11108float4 const_func __attribute__((overloadable)) convert_float4_rtz(char4);
11109float4 const_func __attribute__((overloadable)) convert_float4_rtp(char4);
11110float4 const_func __attribute__((overloadable)) convert_float4_rtn(char4);
11111float4 const_func __attribute__((overloadable)) convert_float4(char4);
11112float4 const_func __attribute__((overloadable)) convert_float4_rte(uchar4);
11113float4 const_func __attribute__((overloadable)) convert_float4_rtz(uchar4);
11114float4 const_func __attribute__((overloadable)) convert_float4_rtp(uchar4);
11115float4 const_func __attribute__((overloadable)) convert_float4_rtn(uchar4);
11116float4 const_func __attribute__((overloadable)) convert_float4(uchar4);
11117float4 const_func __attribute__((overloadable)) convert_float4_rte(short4);
11118float4 const_func __attribute__((overloadable)) convert_float4_rtz(short4);
11119float4 const_func __attribute__((overloadable)) convert_float4_rtp(short4);
11120float4 const_func __attribute__((overloadable)) convert_float4_rtn(short4);
11121float4 const_func __attribute__((overloadable)) convert_float4(short4);
11122float4 const_func __attribute__((overloadable)) convert_float4_rte(ushort4);
11123float4 const_func __attribute__((overloadable)) convert_float4_rtz(ushort4);
11124float4 const_func __attribute__((overloadable)) convert_float4_rtp(ushort4);
11125float4 const_func __attribute__((overloadable)) convert_float4_rtn(ushort4);
11126float4 const_func __attribute__((overloadable)) convert_float4(ushort4);
11127float4 const_func __attribute__((overloadable)) convert_float4_rte(int4);
11128float4 const_func __attribute__((overloadable)) convert_float4_rtz(int4);
11129float4 const_func __attribute__((overloadable)) convert_float4_rtp(int4);
11130float4 const_func __attribute__((overloadable)) convert_float4_rtn(int4);
11131float4 const_func __attribute__((overloadable)) convert_float4(int4);
11132float4 const_func __attribute__((overloadable)) convert_float4_rte(uint4);
11133float4 const_func __attribute__((overloadable)) convert_float4_rtz(uint4);
11134float4 const_func __attribute__((overloadable)) convert_float4_rtp(uint4);
11135float4 const_func __attribute__((overloadable)) convert_float4_rtn(uint4);
11136float4 const_func __attribute__((overloadable)) convert_float4(uint4);
11137float4 const_func __attribute__((overloadable)) convert_float4_rte(long4);
11138float4 const_func __attribute__((overloadable)) convert_float4_rtz(long4);
11139float4 const_func __attribute__((overloadable)) convert_float4_rtp(long4);
11140float4 const_func __attribute__((overloadable)) convert_float4_rtn(long4);
11141float4 const_func __attribute__((overloadable)) convert_float4(long4);
11142float4 const_func __attribute__((overloadable)) convert_float4_rte(ulong4);
11143float4 const_func __attribute__((overloadable)) convert_float4_rtz(ulong4);
11144float4 const_func __attribute__((overloadable)) convert_float4_rtp(ulong4);
11145float4 const_func __attribute__((overloadable)) convert_float4_rtn(ulong4);
11146float4 const_func __attribute__((overloadable)) convert_float4(ulong4);
11147float4 const_func __attribute__((overloadable)) convert_float4_rte(float4);
11148float4 const_func __attribute__((overloadable)) convert_float4_rtz(float4);
11149float4 const_func __attribute__((overloadable)) convert_float4_rtp(float4);
11150float4 const_func __attribute__((overloadable)) convert_float4_rtn(float4);
11151float4 const_func __attribute__((overloadable)) convert_float4(float4);
11152float4 const_func __attribute__((overloadable)) convert_float4_rte(double4);
11153float4 const_func __attribute__((overloadable)) convert_float4_rtz(double4);
11154float4 const_func __attribute__((overloadable)) convert_float4_rtp(double4);
11155float4 const_func __attribute__((overloadable)) convert_float4_rtn(double4);
11156float4 const_func __attribute__((overloadable)) convert_float4(double4);
11157
11158double4 const_func __attribute__((overloadable)) convert_double4_rte(char4);
11159double4 const_func __attribute__((overloadable)) convert_double4_rtz(char4);
11160double4 const_func __attribute__((overloadable)) convert_double4_rtp(char4);
11161double4 const_func __attribute__((overloadable)) convert_double4_rtn(char4);
11162double4 const_func __attribute__((overloadable)) convert_double4(char4);
11163double4 const_func __attribute__((overloadable)) convert_double4_rte(uchar4);
11164double4 const_func __attribute__((overloadable)) convert_double4_rtz(uchar4);
11165double4 const_func __attribute__((overloadable)) convert_double4_rtp(uchar4);
11166double4 const_func __attribute__((overloadable)) convert_double4_rtn(uchar4);
11167double4 const_func __attribute__((overloadable)) convert_double4(uchar4);
11168double4 const_func __attribute__((overloadable)) convert_double4_rte(short4);
11169double4 const_func __attribute__((overloadable)) convert_double4_rtz(short4);
11170double4 const_func __attribute__((overloadable)) convert_double4_rtp(short4);
11171double4 const_func __attribute__((overloadable)) convert_double4_rtn(short4);
11172double4 const_func __attribute__((overloadable)) convert_double4(short4);
11173double4 const_func __attribute__((overloadable)) convert_double4_rte(ushort4);
11174double4 const_func __attribute__((overloadable)) convert_double4_rtz(ushort4);
11175double4 const_func __attribute__((overloadable)) convert_double4_rtp(ushort4);
11176double4 const_func __attribute__((overloadable)) convert_double4_rtn(ushort4);
11177double4 const_func __attribute__((overloadable)) convert_double4(ushort4);
11178double4 const_func __attribute__((overloadable)) convert_double4_rte(int4);
11179double4 const_func __attribute__((overloadable)) convert_double4_rtz(int4);
11180double4 const_func __attribute__((overloadable)) convert_double4_rtp(int4);
11181double4 const_func __attribute__((overloadable)) convert_double4_rtn(int4);
11182double4 const_func __attribute__((overloadable)) convert_double4(int4);
11183double4 const_func __attribute__((overloadable)) convert_double4_rte(uint4);
11184double4 const_func __attribute__((overloadable)) convert_double4_rtz(uint4);
11185double4 const_func __attribute__((overloadable)) convert_double4_rtp(uint4);
11186double4 const_func __attribute__((overloadable)) convert_double4_rtn(uint4);
11187double4 const_func __attribute__((overloadable)) convert_double4(uint4);
11188double4 const_func __attribute__((overloadable)) convert_double4_rte(long4);
11189double4 const_func __attribute__((overloadable)) convert_double4_rtz(long4);
11190double4 const_func __attribute__((overloadable)) convert_double4_rtp(long4);
11191double4 const_func __attribute__((overloadable)) convert_double4_rtn(long4);
11192double4 const_func __attribute__((overloadable)) convert_double4(long4);
11193double4 const_func __attribute__((overloadable)) convert_double4_rte(ulong4);
11194double4 const_func __attribute__((overloadable)) convert_double4_rtz(ulong4);
11195double4 const_func __attribute__((overloadable)) convert_double4_rtp(ulong4);
11196double4 const_func __attribute__((overloadable)) convert_double4_rtn(ulong4);
11197double4 const_func __attribute__((overloadable)) convert_double4(ulong4);
11198double4 const_func __attribute__((overloadable)) convert_double4_rte(float4);
11199double4 const_func __attribute__((overloadable)) convert_double4_rtz(float4);
11200double4 const_func __attribute__((overloadable)) convert_double4_rtp(float4);
11201double4 const_func __attribute__((overloadable)) convert_double4_rtn(float4);
11202double4 const_func __attribute__((overloadable)) convert_double4(float4);
11203double4 const_func __attribute__((overloadable)) convert_double4_rte(double4);
11204double4 const_func __attribute__((overloadable)) convert_double4_rtz(double4);
11205double4 const_func __attribute__((overloadable)) convert_double4_rtp(double4);
11206double4 const_func __attribute__((overloadable)) convert_double4_rtn(double4);
11207double4 const_func __attribute__((overloadable)) convert_double4(double4);
11208
11209char8 const_func __attribute__((overloadable)) convert_char8_rte(char8);
11210char8 const_func __attribute__((overloadable)) convert_char8_sat_rte(char8);
11211char8 const_func __attribute__((overloadable)) convert_char8_rtz(char8);
11212char8 const_func __attribute__((overloadable)) convert_char8_sat_rtz(char8);
11213char8 const_func __attribute__((overloadable)) convert_char8_rtp(char8);
11214char8 const_func __attribute__((overloadable)) convert_char8_sat_rtp(char8);
11215char8 const_func __attribute__((overloadable)) convert_char8_rtn(char8);
11216char8 const_func __attribute__((overloadable)) convert_char8_sat_rtn(char8);
11217char8 const_func __attribute__((overloadable)) convert_char8(char8);
11218char8 const_func __attribute__((overloadable)) convert_char8_sat(char8);
11219char8 const_func __attribute__((overloadable)) convert_char8_rte(uchar8);
11220char8 const_func __attribute__((overloadable)) convert_char8_sat_rte(uchar8);
11221char8 const_func __attribute__((overloadable)) convert_char8_rtz(uchar8);
11222char8 const_func __attribute__((overloadable)) convert_char8_sat_rtz(uchar8);
11223char8 const_func __attribute__((overloadable)) convert_char8_rtp(uchar8);
11224char8 const_func __attribute__((overloadable)) convert_char8_sat_rtp(uchar8);
11225char8 const_func __attribute__((overloadable)) convert_char8_rtn(uchar8);
11226char8 const_func __attribute__((overloadable)) convert_char8_sat_rtn(uchar8);
11227char8 const_func __attribute__((overloadable)) convert_char8(uchar8);
11228char8 const_func __attribute__((overloadable)) convert_char8_sat(uchar8);
11229char8 const_func __attribute__((overloadable)) convert_char8_rte(short8);
11230char8 const_func __attribute__((overloadable)) convert_char8_sat_rte(short8);
11231char8 const_func __attribute__((overloadable)) convert_char8_rtz(short8);
11232char8 const_func __attribute__((overloadable)) convert_char8_sat_rtz(short8);
11233char8 const_func __attribute__((overloadable)) convert_char8_rtp(short8);
11234char8 const_func __attribute__((overloadable)) convert_char8_sat_rtp(short8);
11235char8 const_func __attribute__((overloadable)) convert_char8_rtn(short8);
11236char8 const_func __attribute__((overloadable)) convert_char8_sat_rtn(short8);
11237char8 const_func __attribute__((overloadable)) convert_char8(short8);
11238char8 const_func __attribute__((overloadable)) convert_char8_sat(short8);
11239char8 const_func __attribute__((overloadable)) convert_char8_rte(ushort8);
11240char8 const_func __attribute__((overloadable)) convert_char8_sat_rte(ushort8);
11241char8 const_func __attribute__((overloadable)) convert_char8_rtz(ushort8);
11242char8 const_func __attribute__((overloadable)) convert_char8_sat_rtz(ushort8);
11243char8 const_func __attribute__((overloadable)) convert_char8_rtp(ushort8);
11244char8 const_func __attribute__((overloadable)) convert_char8_sat_rtp(ushort8);
11245char8 const_func __attribute__((overloadable)) convert_char8_rtn(ushort8);
11246char8 const_func __attribute__((overloadable)) convert_char8_sat_rtn(ushort8);
11247char8 const_func __attribute__((overloadable)) convert_char8(ushort8);
11248char8 const_func __attribute__((overloadable)) convert_char8_sat(ushort8);
11249char8 const_func __attribute__((overloadable)) convert_char8_rte(int8);
11250char8 const_func __attribute__((overloadable)) convert_char8_sat_rte(int8);
11251char8 const_func __attribute__((overloadable)) convert_char8_rtz(int8);
11252char8 const_func __attribute__((overloadable)) convert_char8_sat_rtz(int8);
11253char8 const_func __attribute__((overloadable)) convert_char8_rtp(int8);
11254char8 const_func __attribute__((overloadable)) convert_char8_sat_rtp(int8);
11255char8 const_func __attribute__((overloadable)) convert_char8_rtn(int8);
11256char8 const_func __attribute__((overloadable)) convert_char8_sat_rtn(int8);
11257char8 const_func __attribute__((overloadable)) convert_char8(int8);
11258char8 const_func __attribute__((overloadable)) convert_char8_sat(int8);
11259char8 const_func __attribute__((overloadable)) convert_char8_rte(uint8);
11260char8 const_func __attribute__((overloadable)) convert_char8_sat_rte(uint8);
11261char8 const_func __attribute__((overloadable)) convert_char8_rtz(uint8);
11262char8 const_func __attribute__((overloadable)) convert_char8_sat_rtz(uint8);
11263char8 const_func __attribute__((overloadable)) convert_char8_rtp(uint8);
11264char8 const_func __attribute__((overloadable)) convert_char8_sat_rtp(uint8);
11265char8 const_func __attribute__((overloadable)) convert_char8_rtn(uint8);
11266char8 const_func __attribute__((overloadable)) convert_char8_sat_rtn(uint8);
11267char8 const_func __attribute__((overloadable)) convert_char8(uint8);
11268char8 const_func __attribute__((overloadable)) convert_char8_sat(uint8);
11269char8 const_func __attribute__((overloadable)) convert_char8_rte(long8);
11270char8 const_func __attribute__((overloadable)) convert_char8_sat_rte(long8);
11271char8 const_func __attribute__((overloadable)) convert_char8_rtz(long8);
11272char8 const_func __attribute__((overloadable)) convert_char8_sat_rtz(long8);
11273char8 const_func __attribute__((overloadable)) convert_char8_rtp(long8);
11274char8 const_func __attribute__((overloadable)) convert_char8_sat_rtp(long8);
11275char8 const_func __attribute__((overloadable)) convert_char8_rtn(long8);
11276char8 const_func __attribute__((overloadable)) convert_char8_sat_rtn(long8);
11277char8 const_func __attribute__((overloadable)) convert_char8(long8);
11278char8 const_func __attribute__((overloadable)) convert_char8_sat(long8);
11279char8 const_func __attribute__((overloadable)) convert_char8_rte(ulong8);
11280char8 const_func __attribute__((overloadable)) convert_char8_sat_rte(ulong8);
11281char8 const_func __attribute__((overloadable)) convert_char8_rtz(ulong8);
11282char8 const_func __attribute__((overloadable)) convert_char8_sat_rtz(ulong8);
11283char8 const_func __attribute__((overloadable)) convert_char8_rtp(ulong8);
11284char8 const_func __attribute__((overloadable)) convert_char8_sat_rtp(ulong8);
11285char8 const_func __attribute__((overloadable)) convert_char8_rtn(ulong8);
11286char8 const_func __attribute__((overloadable)) convert_char8_sat_rtn(ulong8);
11287char8 const_func __attribute__((overloadable)) convert_char8(ulong8);
11288char8 const_func __attribute__((overloadable)) convert_char8_sat(ulong8);
11289char8 const_func __attribute__((overloadable)) convert_char8_rte(float8);
11290char8 const_func __attribute__((overloadable)) convert_char8_sat_rte(float8);
11291char8 const_func __attribute__((overloadable)) convert_char8_rtz(float8);
11292char8 const_func __attribute__((overloadable)) convert_char8_sat_rtz(float8);
11293char8 const_func __attribute__((overloadable)) convert_char8_rtp(float8);
11294char8 const_func __attribute__((overloadable)) convert_char8_sat_rtp(float8);
11295char8 const_func __attribute__((overloadable)) convert_char8_rtn(float8);
11296char8 const_func __attribute__((overloadable)) convert_char8_sat_rtn(float8);
11297char8 const_func __attribute__((overloadable)) convert_char8(float8);
11298char8 const_func __attribute__((overloadable)) convert_char8_sat(float8);
11299char8 const_func __attribute__((overloadable)) convert_char8_rte(double8);
11300char8 const_func __attribute__((overloadable)) convert_char8_sat_rte(double8);
11301char8 const_func __attribute__((overloadable)) convert_char8_rtz(double8);
11302char8 const_func __attribute__((overloadable)) convert_char8_sat_rtz(double8);
11303char8 const_func __attribute__((overloadable)) convert_char8_rtp(double8);
11304char8 const_func __attribute__((overloadable)) convert_char8_sat_rtp(double8);
11305char8 const_func __attribute__((overloadable)) convert_char8_rtn(double8);
11306char8 const_func __attribute__((overloadable)) convert_char8_sat_rtn(double8);
11307char8 const_func __attribute__((overloadable)) convert_char8(double8);
11308char8 const_func __attribute__((overloadable)) convert_char8_sat(double8);
11309
11310uchar8 const_func __attribute__((overloadable)) convert_uchar8_rte(char8);
11311uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rte(char8);
11312uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtz(char8);
11313uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtz(char8);
11314uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtp(char8);
11315uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtp(char8);
11316uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtn(char8);
11317uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtn(char8);
11318uchar8 const_func __attribute__((overloadable)) convert_uchar8(char8);
11319uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat(char8);
11320uchar8 const_func __attribute__((overloadable)) convert_uchar8_rte(uchar8);
11321uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rte(uchar8);
11322uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtz(uchar8);
11323uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtz(uchar8);
11324uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtp(uchar8);
11325uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtp(uchar8);
11326uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtn(uchar8);
11327uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtn(uchar8);
11328uchar8 const_func __attribute__((overloadable)) convert_uchar8(uchar8);
11329uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat(uchar8);
11330uchar8 const_func __attribute__((overloadable)) convert_uchar8_rte(short8);
11331uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rte(short8);
11332uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtz(short8);
11333uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtz(short8);
11334uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtp(short8);
11335uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtp(short8);
11336uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtn(short8);
11337uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtn(short8);
11338uchar8 const_func __attribute__((overloadable)) convert_uchar8(short8);
11339uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat(short8);
11340uchar8 const_func __attribute__((overloadable)) convert_uchar8_rte(ushort8);
11341uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rte(ushort8);
11342uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtz(ushort8);
11343uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtz(ushort8);
11344uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtp(ushort8);
11345uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtp(ushort8);
11346uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtn(ushort8);
11347uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtn(ushort8);
11348uchar8 const_func __attribute__((overloadable)) convert_uchar8(ushort8);
11349uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat(ushort8);
11350uchar8 const_func __attribute__((overloadable)) convert_uchar8_rte(int8);
11351uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rte(int8);
11352uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtz(int8);
11353uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtz(int8);
11354uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtp(int8);
11355uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtp(int8);
11356uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtn(int8);
11357uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtn(int8);
11358uchar8 const_func __attribute__((overloadable)) convert_uchar8(int8);
11359uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat(int8);
11360uchar8 const_func __attribute__((overloadable)) convert_uchar8_rte(uint8);
11361uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rte(uint8);
11362uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtz(uint8);
11363uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtz(uint8);
11364uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtp(uint8);
11365uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtp(uint8);
11366uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtn(uint8);
11367uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtn(uint8);
11368uchar8 const_func __attribute__((overloadable)) convert_uchar8(uint8);
11369uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat(uint8);
11370uchar8 const_func __attribute__((overloadable)) convert_uchar8_rte(long8);
11371uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rte(long8);
11372uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtz(long8);
11373uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtz(long8);
11374uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtp(long8);
11375uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtp(long8);
11376uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtn(long8);
11377uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtn(long8);
11378uchar8 const_func __attribute__((overloadable)) convert_uchar8(long8);
11379uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat(long8);
11380uchar8 const_func __attribute__((overloadable)) convert_uchar8_rte(ulong8);
11381uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rte(ulong8);
11382uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtz(ulong8);
11383uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtz(ulong8);
11384uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtp(ulong8);
11385uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtp(ulong8);
11386uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtn(ulong8);
11387uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtn(ulong8);
11388uchar8 const_func __attribute__((overloadable)) convert_uchar8(ulong8);
11389uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat(ulong8);
11390uchar8 const_func __attribute__((overloadable)) convert_uchar8_rte(float8);
11391uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rte(float8);
11392uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtz(float8);
11393uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtz(float8);
11394uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtp(float8);
11395uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtp(float8);
11396uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtn(float8);
11397uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtn(float8);
11398uchar8 const_func __attribute__((overloadable)) convert_uchar8(float8);
11399uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat(float8);
11400uchar8 const_func __attribute__((overloadable)) convert_uchar8_rte(double8);
11401uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rte(double8);
11402uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtz(double8);
11403uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtz(double8);
11404uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtp(double8);
11405uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtp(double8);
11406uchar8 const_func __attribute__((overloadable)) convert_uchar8_rtn(double8);
11407uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat_rtn(double8);
11408uchar8 const_func __attribute__((overloadable)) convert_uchar8(double8);
11409uchar8 const_func __attribute__((overloadable)) convert_uchar8_sat(double8);
11410
11411short8 const_func __attribute__((overloadable)) convert_short8_rte(char8);
11412short8 const_func __attribute__((overloadable)) convert_short8_sat_rte(char8);
11413short8 const_func __attribute__((overloadable)) convert_short8_rtz(char8);
11414short8 const_func __attribute__((overloadable)) convert_short8_sat_rtz(char8);
11415short8 const_func __attribute__((overloadable)) convert_short8_rtp(char8);
11416short8 const_func __attribute__((overloadable)) convert_short8_sat_rtp(char8);
11417short8 const_func __attribute__((overloadable)) convert_short8_rtn(char8);
11418short8 const_func __attribute__((overloadable)) convert_short8_sat_rtn(char8);
11419short8 const_func __attribute__((overloadable)) convert_short8(char8);
11420short8 const_func __attribute__((overloadable)) convert_short8_sat(char8);
11421short8 const_func __attribute__((overloadable)) convert_short8_rte(uchar8);
11422short8 const_func __attribute__((overloadable)) convert_short8_sat_rte(uchar8);
11423short8 const_func __attribute__((overloadable)) convert_short8_rtz(uchar8);
11424short8 const_func __attribute__((overloadable)) convert_short8_sat_rtz(uchar8);
11425short8 const_func __attribute__((overloadable)) convert_short8_rtp(uchar8);
11426short8 const_func __attribute__((overloadable)) convert_short8_sat_rtp(uchar8);
11427short8 const_func __attribute__((overloadable)) convert_short8_rtn(uchar8);
11428short8 const_func __attribute__((overloadable)) convert_short8_sat_rtn(uchar8);
11429short8 const_func __attribute__((overloadable)) convert_short8(uchar8);
11430short8 const_func __attribute__((overloadable)) convert_short8_sat(uchar8);
11431short8 const_func __attribute__((overloadable)) convert_short8_rte(short8);
11432short8 const_func __attribute__((overloadable)) convert_short8_sat_rte(short8);
11433short8 const_func __attribute__((overloadable)) convert_short8_rtz(short8);
11434short8 const_func __attribute__((overloadable)) convert_short8_sat_rtz(short8);
11435short8 const_func __attribute__((overloadable)) convert_short8_rtp(short8);
11436short8 const_func __attribute__((overloadable)) convert_short8_sat_rtp(short8);
11437short8 const_func __attribute__((overloadable)) convert_short8_rtn(short8);
11438short8 const_func __attribute__((overloadable)) convert_short8_sat_rtn(short8);
11439short8 const_func __attribute__((overloadable)) convert_short8(short8);
11440short8 const_func __attribute__((overloadable)) convert_short8_sat(short8);
11441short8 const_func __attribute__((overloadable)) convert_short8_rte(ushort8);
11442short8 const_func __attribute__((overloadable)) convert_short8_sat_rte(ushort8);
11443short8 const_func __attribute__((overloadable)) convert_short8_rtz(ushort8);
11444short8 const_func __attribute__((overloadable)) convert_short8_sat_rtz(ushort8);
11445short8 const_func __attribute__((overloadable)) convert_short8_rtp(ushort8);
11446short8 const_func __attribute__((overloadable)) convert_short8_sat_rtp(ushort8);
11447short8 const_func __attribute__((overloadable)) convert_short8_rtn(ushort8);
11448short8 const_func __attribute__((overloadable)) convert_short8_sat_rtn(ushort8);
11449short8 const_func __attribute__((overloadable)) convert_short8(ushort8);
11450short8 const_func __attribute__((overloadable)) convert_short8_sat(ushort8);
11451short8 const_func __attribute__((overloadable)) convert_short8_rte(int8);
11452short8 const_func __attribute__((overloadable)) convert_short8_sat_rte(int8);
11453short8 const_func __attribute__((overloadable)) convert_short8_rtz(int8);
11454short8 const_func __attribute__((overloadable)) convert_short8_sat_rtz(int8);
11455short8 const_func __attribute__((overloadable)) convert_short8_rtp(int8);
11456short8 const_func __attribute__((overloadable)) convert_short8_sat_rtp(int8);
11457short8 const_func __attribute__((overloadable)) convert_short8_rtn(int8);
11458short8 const_func __attribute__((overloadable)) convert_short8_sat_rtn(int8);
11459short8 const_func __attribute__((overloadable)) convert_short8(int8);
11460short8 const_func __attribute__((overloadable)) convert_short8_sat(int8);
11461short8 const_func __attribute__((overloadable)) convert_short8_rte(uint8);
11462short8 const_func __attribute__((overloadable)) convert_short8_sat_rte(uint8);
11463short8 const_func __attribute__((overloadable)) convert_short8_rtz(uint8);
11464short8 const_func __attribute__((overloadable)) convert_short8_sat_rtz(uint8);
11465short8 const_func __attribute__((overloadable)) convert_short8_rtp(uint8);
11466short8 const_func __attribute__((overloadable)) convert_short8_sat_rtp(uint8);
11467short8 const_func __attribute__((overloadable)) convert_short8_rtn(uint8);
11468short8 const_func __attribute__((overloadable)) convert_short8_sat_rtn(uint8);
11469short8 const_func __attribute__((overloadable)) convert_short8(uint8);
11470short8 const_func __attribute__((overloadable)) convert_short8_sat(uint8);
11471short8 const_func __attribute__((overloadable)) convert_short8_rte(long8);
11472short8 const_func __attribute__((overloadable)) convert_short8_sat_rte(long8);
11473short8 const_func __attribute__((overloadable)) convert_short8_rtz(long8);
11474short8 const_func __attribute__((overloadable)) convert_short8_sat_rtz(long8);
11475short8 const_func __attribute__((overloadable)) convert_short8_rtp(long8);
11476short8 const_func __attribute__((overloadable)) convert_short8_sat_rtp(long8);
11477short8 const_func __attribute__((overloadable)) convert_short8_rtn(long8);
11478short8 const_func __attribute__((overloadable)) convert_short8_sat_rtn(long8);
11479short8 const_func __attribute__((overloadable)) convert_short8(long8);
11480short8 const_func __attribute__((overloadable)) convert_short8_sat(long8);
11481short8 const_func __attribute__((overloadable)) convert_short8_rte(ulong8);
11482short8 const_func __attribute__((overloadable)) convert_short8_sat_rte(ulong8);
11483short8 const_func __attribute__((overloadable)) convert_short8_rtz(ulong8);
11484short8 const_func __attribute__((overloadable)) convert_short8_sat_rtz(ulong8);
11485short8 const_func __attribute__((overloadable)) convert_short8_rtp(ulong8);
11486short8 const_func __attribute__((overloadable)) convert_short8_sat_rtp(ulong8);
11487short8 const_func __attribute__((overloadable)) convert_short8_rtn(ulong8);
11488short8 const_func __attribute__((overloadable)) convert_short8_sat_rtn(ulong8);
11489short8 const_func __attribute__((overloadable)) convert_short8(ulong8);
11490short8 const_func __attribute__((overloadable)) convert_short8_sat(ulong8);
11491short8 const_func __attribute__((overloadable)) convert_short8_rte(float8);
11492short8 const_func __attribute__((overloadable)) convert_short8_sat_rte(float8);
11493short8 const_func __attribute__((overloadable)) convert_short8_rtz(float8);
11494short8 const_func __attribute__((overloadable)) convert_short8_sat_rtz(float8);
11495short8 const_func __attribute__((overloadable)) convert_short8_rtp(float8);
11496short8 const_func __attribute__((overloadable)) convert_short8_sat_rtp(float8);
11497short8 const_func __attribute__((overloadable)) convert_short8_rtn(float8);
11498short8 const_func __attribute__((overloadable)) convert_short8_sat_rtn(float8);
11499short8 const_func __attribute__((overloadable)) convert_short8(float8);
11500short8 const_func __attribute__((overloadable)) convert_short8_sat(float8);
11501short8 const_func __attribute__((overloadable)) convert_short8_rte(double8);
11502short8 const_func __attribute__((overloadable)) convert_short8_sat_rte(double8);
11503short8 const_func __attribute__((overloadable)) convert_short8_rtz(double8);
11504short8 const_func __attribute__((overloadable)) convert_short8_sat_rtz(double8);
11505short8 const_func __attribute__((overloadable)) convert_short8_rtp(double8);
11506short8 const_func __attribute__((overloadable)) convert_short8_sat_rtp(double8);
11507short8 const_func __attribute__((overloadable)) convert_short8_rtn(double8);
11508short8 const_func __attribute__((overloadable)) convert_short8_sat_rtn(double8);
11509short8 const_func __attribute__((overloadable)) convert_short8(double8);
11510short8 const_func __attribute__((overloadable)) convert_short8_sat(double8);
11511
11512ushort8 const_func __attribute__((overloadable)) convert_ushort8_rte(char8);
11513ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rte(char8);
11514ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtz(char8);
11515ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtz(char8);
11516ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtp(char8);
11517ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtp(char8);
11518ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtn(char8);
11519ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtn(char8);
11520ushort8 const_func __attribute__((overloadable)) convert_ushort8(char8);
11521ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat(char8);
11522ushort8 const_func __attribute__((overloadable)) convert_ushort8_rte(uchar8);
11523ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rte(uchar8);
11524ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtz(uchar8);
11525ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtz(uchar8);
11526ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtp(uchar8);
11527ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtp(uchar8);
11528ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtn(uchar8);
11529ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtn(uchar8);
11530ushort8 const_func __attribute__((overloadable)) convert_ushort8(uchar8);
11531ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat(uchar8);
11532ushort8 const_func __attribute__((overloadable)) convert_ushort8_rte(short8);
11533ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rte(short8);
11534ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtz(short8);
11535ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtz(short8);
11536ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtp(short8);
11537ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtp(short8);
11538ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtn(short8);
11539ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtn(short8);
11540ushort8 const_func __attribute__((overloadable)) convert_ushort8(short8);
11541ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat(short8);
11542ushort8 const_func __attribute__((overloadable)) convert_ushort8_rte(ushort8);
11543ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rte(ushort8);
11544ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtz(ushort8);
11545ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtz(ushort8);
11546ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtp(ushort8);
11547ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtp(ushort8);
11548ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtn(ushort8);
11549ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtn(ushort8);
11550ushort8 const_func __attribute__((overloadable)) convert_ushort8(ushort8);
11551ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat(ushort8);
11552ushort8 const_func __attribute__((overloadable)) convert_ushort8_rte(int8);
11553ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rte(int8);
11554ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtz(int8);
11555ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtz(int8);
11556ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtp(int8);
11557ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtp(int8);
11558ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtn(int8);
11559ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtn(int8);
11560ushort8 const_func __attribute__((overloadable)) convert_ushort8(int8);
11561ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat(int8);
11562ushort8 const_func __attribute__((overloadable)) convert_ushort8_rte(uint8);
11563ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rte(uint8);
11564ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtz(uint8);
11565ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtz(uint8);
11566ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtp(uint8);
11567ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtp(uint8);
11568ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtn(uint8);
11569ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtn(uint8);
11570ushort8 const_func __attribute__((overloadable)) convert_ushort8(uint8);
11571ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat(uint8);
11572ushort8 const_func __attribute__((overloadable)) convert_ushort8_rte(long8);
11573ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rte(long8);
11574ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtz(long8);
11575ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtz(long8);
11576ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtp(long8);
11577ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtp(long8);
11578ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtn(long8);
11579ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtn(long8);
11580ushort8 const_func __attribute__((overloadable)) convert_ushort8(long8);
11581ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat(long8);
11582ushort8 const_func __attribute__((overloadable)) convert_ushort8_rte(ulong8);
11583ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rte(ulong8);
11584ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtz(ulong8);
11585ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtz(ulong8);
11586ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtp(ulong8);
11587ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtp(ulong8);
11588ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtn(ulong8);
11589ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtn(ulong8);
11590ushort8 const_func __attribute__((overloadable)) convert_ushort8(ulong8);
11591ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat(ulong8);
11592ushort8 const_func __attribute__((overloadable)) convert_ushort8_rte(float8);
11593ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rte(float8);
11594ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtz(float8);
11595ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtz(float8);
11596ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtp(float8);
11597ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtp(float8);
11598ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtn(float8);
11599ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtn(float8);
11600ushort8 const_func __attribute__((overloadable)) convert_ushort8(float8);
11601ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat(float8);
11602ushort8 const_func __attribute__((overloadable)) convert_ushort8_rte(double8);
11603ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rte(double8);
11604ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtz(double8);
11605ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtz(double8);
11606ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtp(double8);
11607ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtp(double8);
11608ushort8 const_func __attribute__((overloadable)) convert_ushort8_rtn(double8);
11609ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat_rtn(double8);
11610ushort8 const_func __attribute__((overloadable)) convert_ushort8(double8);
11611ushort8 const_func __attribute__((overloadable)) convert_ushort8_sat(double8);
11612
11613int8 const_func __attribute__((overloadable)) convert_int8_rte(char8);
11614int8 const_func __attribute__((overloadable)) convert_int8_sat_rte(char8);
11615int8 const_func __attribute__((overloadable)) convert_int8_rtz(char8);
11616int8 const_func __attribute__((overloadable)) convert_int8_sat_rtz(char8);
11617int8 const_func __attribute__((overloadable)) convert_int8_rtp(char8);
11618int8 const_func __attribute__((overloadable)) convert_int8_sat_rtp(char8);
11619int8 const_func __attribute__((overloadable)) convert_int8_rtn(char8);
11620int8 const_func __attribute__((overloadable)) convert_int8_sat_rtn(char8);
11621int8 const_func __attribute__((overloadable)) convert_int8(char8);
11622int8 const_func __attribute__((overloadable)) convert_int8_sat(char8);
11623int8 const_func __attribute__((overloadable)) convert_int8_rte(uchar8);
11624int8 const_func __attribute__((overloadable)) convert_int8_sat_rte(uchar8);
11625int8 const_func __attribute__((overloadable)) convert_int8_rtz(uchar8);
11626int8 const_func __attribute__((overloadable)) convert_int8_sat_rtz(uchar8);
11627int8 const_func __attribute__((overloadable)) convert_int8_rtp(uchar8);
11628int8 const_func __attribute__((overloadable)) convert_int8_sat_rtp(uchar8);
11629int8 const_func __attribute__((overloadable)) convert_int8_rtn(uchar8);
11630int8 const_func __attribute__((overloadable)) convert_int8_sat_rtn(uchar8);
11631int8 const_func __attribute__((overloadable)) convert_int8(uchar8);
11632int8 const_func __attribute__((overloadable)) convert_int8_sat(uchar8);
11633int8 const_func __attribute__((overloadable)) convert_int8_rte(short8);
11634int8 const_func __attribute__((overloadable)) convert_int8_sat_rte(short8);
11635int8 const_func __attribute__((overloadable)) convert_int8_rtz(short8);
11636int8 const_func __attribute__((overloadable)) convert_int8_sat_rtz(short8);
11637int8 const_func __attribute__((overloadable)) convert_int8_rtp(short8);
11638int8 const_func __attribute__((overloadable)) convert_int8_sat_rtp(short8);
11639int8 const_func __attribute__((overloadable)) convert_int8_rtn(short8);
11640int8 const_func __attribute__((overloadable)) convert_int8_sat_rtn(short8);
11641int8 const_func __attribute__((overloadable)) convert_int8(short8);
11642int8 const_func __attribute__((overloadable)) convert_int8_sat(short8);
11643int8 const_func __attribute__((overloadable)) convert_int8_rte(ushort8);
11644int8 const_func __attribute__((overloadable)) convert_int8_sat_rte(ushort8);
11645int8 const_func __attribute__((overloadable)) convert_int8_rtz(ushort8);
11646int8 const_func __attribute__((overloadable)) convert_int8_sat_rtz(ushort8);
11647int8 const_func __attribute__((overloadable)) convert_int8_rtp(ushort8);
11648int8 const_func __attribute__((overloadable)) convert_int8_sat_rtp(ushort8);
11649int8 const_func __attribute__((overloadable)) convert_int8_rtn(ushort8);
11650int8 const_func __attribute__((overloadable)) convert_int8_sat_rtn(ushort8);
11651int8 const_func __attribute__((overloadable)) convert_int8(ushort8);
11652int8 const_func __attribute__((overloadable)) convert_int8_sat(ushort8);
11653int8 const_func __attribute__((overloadable)) convert_int8_rte(int8);
11654int8 const_func __attribute__((overloadable)) convert_int8_sat_rte(int8);
11655int8 const_func __attribute__((overloadable)) convert_int8_rtz(int8);
11656int8 const_func __attribute__((overloadable)) convert_int8_sat_rtz(int8);
11657int8 const_func __attribute__((overloadable)) convert_int8_rtp(int8);
11658int8 const_func __attribute__((overloadable)) convert_int8_sat_rtp(int8);
11659int8 const_func __attribute__((overloadable)) convert_int8_rtn(int8);
11660int8 const_func __attribute__((overloadable)) convert_int8_sat_rtn(int8);
11661int8 const_func __attribute__((overloadable)) convert_int8(int8);
11662int8 const_func __attribute__((overloadable)) convert_int8_sat(int8);
11663int8 const_func __attribute__((overloadable)) convert_int8_rte(uint8);
11664int8 const_func __attribute__((overloadable)) convert_int8_sat_rte(uint8);
11665int8 const_func __attribute__((overloadable)) convert_int8_rtz(uint8);
11666int8 const_func __attribute__((overloadable)) convert_int8_sat_rtz(uint8);
11667int8 const_func __attribute__((overloadable)) convert_int8_rtp(uint8);
11668int8 const_func __attribute__((overloadable)) convert_int8_sat_rtp(uint8);
11669int8 const_func __attribute__((overloadable)) convert_int8_rtn(uint8);
11670int8 const_func __attribute__((overloadable)) convert_int8_sat_rtn(uint8);
11671int8 const_func __attribute__((overloadable)) convert_int8(uint8);
11672int8 const_func __attribute__((overloadable)) convert_int8_sat(uint8);
11673int8 const_func __attribute__((overloadable)) convert_int8_rte(long8);
11674int8 const_func __attribute__((overloadable)) convert_int8_sat_rte(long8);
11675int8 const_func __attribute__((overloadable)) convert_int8_rtz(long8);
11676int8 const_func __attribute__((overloadable)) convert_int8_sat_rtz(long8);
11677int8 const_func __attribute__((overloadable)) convert_int8_rtp(long8);
11678int8 const_func __attribute__((overloadable)) convert_int8_sat_rtp(long8);
11679int8 const_func __attribute__((overloadable)) convert_int8_rtn(long8);
11680int8 const_func __attribute__((overloadable)) convert_int8_sat_rtn(long8);
11681int8 const_func __attribute__((overloadable)) convert_int8(long8);
11682int8 const_func __attribute__((overloadable)) convert_int8_sat(long8);
11683int8 const_func __attribute__((overloadable)) convert_int8_rte(ulong8);
11684int8 const_func __attribute__((overloadable)) convert_int8_sat_rte(ulong8);
11685int8 const_func __attribute__((overloadable)) convert_int8_rtz(ulong8);
11686int8 const_func __attribute__((overloadable)) convert_int8_sat_rtz(ulong8);
11687int8 const_func __attribute__((overloadable)) convert_int8_rtp(ulong8);
11688int8 const_func __attribute__((overloadable)) convert_int8_sat_rtp(ulong8);
11689int8 const_func __attribute__((overloadable)) convert_int8_rtn(ulong8);
11690int8 const_func __attribute__((overloadable)) convert_int8_sat_rtn(ulong8);
11691int8 const_func __attribute__((overloadable)) convert_int8(ulong8);
11692int8 const_func __attribute__((overloadable)) convert_int8_sat(ulong8);
11693int8 const_func __attribute__((overloadable)) convert_int8_rte(float8);
11694int8 const_func __attribute__((overloadable)) convert_int8_sat_rte(float8);
11695int8 const_func __attribute__((overloadable)) convert_int8_rtz(float8);
11696int8 const_func __attribute__((overloadable)) convert_int8_sat_rtz(float8);
11697int8 const_func __attribute__((overloadable)) convert_int8_rtp(float8);
11698int8 const_func __attribute__((overloadable)) convert_int8_sat_rtp(float8);
11699int8 const_func __attribute__((overloadable)) convert_int8_rtn(float8);
11700int8 const_func __attribute__((overloadable)) convert_int8_sat_rtn(float8);
11701int8 const_func __attribute__((overloadable)) convert_int8(float8);
11702int8 const_func __attribute__((overloadable)) convert_int8_sat(float8);
11703int8 const_func __attribute__((overloadable)) convert_int8_rte(double8);
11704int8 const_func __attribute__((overloadable)) convert_int8_sat_rte(double8);
11705int8 const_func __attribute__((overloadable)) convert_int8_rtz(double8);
11706int8 const_func __attribute__((overloadable)) convert_int8_sat_rtz(double8);
11707int8 const_func __attribute__((overloadable)) convert_int8_rtp(double8);
11708int8 const_func __attribute__((overloadable)) convert_int8_sat_rtp(double8);
11709int8 const_func __attribute__((overloadable)) convert_int8_rtn(double8);
11710int8 const_func __attribute__((overloadable)) convert_int8_sat_rtn(double8);
11711int8 const_func __attribute__((overloadable)) convert_int8(double8);
11712int8 const_func __attribute__((overloadable)) convert_int8_sat(double8);
11713
11714uint8 const_func __attribute__((overloadable)) convert_uint8_rte(char8);
11715uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rte(char8);
11716uint8 const_func __attribute__((overloadable)) convert_uint8_rtz(char8);
11717uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtz(char8);
11718uint8 const_func __attribute__((overloadable)) convert_uint8_rtp(char8);
11719uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtp(char8);
11720uint8 const_func __attribute__((overloadable)) convert_uint8_rtn(char8);
11721uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtn(char8);
11722uint8 const_func __attribute__((overloadable)) convert_uint8(char8);
11723uint8 const_func __attribute__((overloadable)) convert_uint8_sat(char8);
11724uint8 const_func __attribute__((overloadable)) convert_uint8_rte(uchar8);
11725uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rte(uchar8);
11726uint8 const_func __attribute__((overloadable)) convert_uint8_rtz(uchar8);
11727uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtz(uchar8);
11728uint8 const_func __attribute__((overloadable)) convert_uint8_rtp(uchar8);
11729uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtp(uchar8);
11730uint8 const_func __attribute__((overloadable)) convert_uint8_rtn(uchar8);
11731uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtn(uchar8);
11732uint8 const_func __attribute__((overloadable)) convert_uint8(uchar8);
11733uint8 const_func __attribute__((overloadable)) convert_uint8_sat(uchar8);
11734uint8 const_func __attribute__((overloadable)) convert_uint8_rte(short8);
11735uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rte(short8);
11736uint8 const_func __attribute__((overloadable)) convert_uint8_rtz(short8);
11737uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtz(short8);
11738uint8 const_func __attribute__((overloadable)) convert_uint8_rtp(short8);
11739uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtp(short8);
11740uint8 const_func __attribute__((overloadable)) convert_uint8_rtn(short8);
11741uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtn(short8);
11742uint8 const_func __attribute__((overloadable)) convert_uint8(short8);
11743uint8 const_func __attribute__((overloadable)) convert_uint8_sat(short8);
11744uint8 const_func __attribute__((overloadable)) convert_uint8_rte(ushort8);
11745uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rte(ushort8);
11746uint8 const_func __attribute__((overloadable)) convert_uint8_rtz(ushort8);
11747uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtz(ushort8);
11748uint8 const_func __attribute__((overloadable)) convert_uint8_rtp(ushort8);
11749uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtp(ushort8);
11750uint8 const_func __attribute__((overloadable)) convert_uint8_rtn(ushort8);
11751uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtn(ushort8);
11752uint8 const_func __attribute__((overloadable)) convert_uint8(ushort8);
11753uint8 const_func __attribute__((overloadable)) convert_uint8_sat(ushort8);
11754uint8 const_func __attribute__((overloadable)) convert_uint8_rte(int8);
11755uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rte(int8);
11756uint8 const_func __attribute__((overloadable)) convert_uint8_rtz(int8);
11757uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtz(int8);
11758uint8 const_func __attribute__((overloadable)) convert_uint8_rtp(int8);
11759uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtp(int8);
11760uint8 const_func __attribute__((overloadable)) convert_uint8_rtn(int8);
11761uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtn(int8);
11762uint8 const_func __attribute__((overloadable)) convert_uint8(int8);
11763uint8 const_func __attribute__((overloadable)) convert_uint8_sat(int8);
11764uint8 const_func __attribute__((overloadable)) convert_uint8_rte(uint8);
11765uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rte(uint8);
11766uint8 const_func __attribute__((overloadable)) convert_uint8_rtz(uint8);
11767uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtz(uint8);
11768uint8 const_func __attribute__((overloadable)) convert_uint8_rtp(uint8);
11769uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtp(uint8);
11770uint8 const_func __attribute__((overloadable)) convert_uint8_rtn(uint8);
11771uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtn(uint8);
11772uint8 const_func __attribute__((overloadable)) convert_uint8(uint8);
11773uint8 const_func __attribute__((overloadable)) convert_uint8_sat(uint8);
11774uint8 const_func __attribute__((overloadable)) convert_uint8_rte(long8);
11775uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rte(long8);
11776uint8 const_func __attribute__((overloadable)) convert_uint8_rtz(long8);
11777uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtz(long8);
11778uint8 const_func __attribute__((overloadable)) convert_uint8_rtp(long8);
11779uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtp(long8);
11780uint8 const_func __attribute__((overloadable)) convert_uint8_rtn(long8);
11781uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtn(long8);
11782uint8 const_func __attribute__((overloadable)) convert_uint8(long8);
11783uint8 const_func __attribute__((overloadable)) convert_uint8_sat(long8);
11784uint8 const_func __attribute__((overloadable)) convert_uint8_rte(ulong8);
11785uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rte(ulong8);
11786uint8 const_func __attribute__((overloadable)) convert_uint8_rtz(ulong8);
11787uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtz(ulong8);
11788uint8 const_func __attribute__((overloadable)) convert_uint8_rtp(ulong8);
11789uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtp(ulong8);
11790uint8 const_func __attribute__((overloadable)) convert_uint8_rtn(ulong8);
11791uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtn(ulong8);
11792uint8 const_func __attribute__((overloadable)) convert_uint8(ulong8);
11793uint8 const_func __attribute__((overloadable)) convert_uint8_sat(ulong8);
11794uint8 const_func __attribute__((overloadable)) convert_uint8_rte(float8);
11795uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rte(float8);
11796uint8 const_func __attribute__((overloadable)) convert_uint8_rtz(float8);
11797uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtz(float8);
11798uint8 const_func __attribute__((overloadable)) convert_uint8_rtp(float8);
11799uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtp(float8);
11800uint8 const_func __attribute__((overloadable)) convert_uint8_rtn(float8);
11801uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtn(float8);
11802uint8 const_func __attribute__((overloadable)) convert_uint8(float8);
11803uint8 const_func __attribute__((overloadable)) convert_uint8_sat(float8);
11804uint8 const_func __attribute__((overloadable)) convert_uint8_rte(double8);
11805uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rte(double8);
11806uint8 const_func __attribute__((overloadable)) convert_uint8_rtz(double8);
11807uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtz(double8);
11808uint8 const_func __attribute__((overloadable)) convert_uint8_rtp(double8);
11809uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtp(double8);
11810uint8 const_func __attribute__((overloadable)) convert_uint8_rtn(double8);
11811uint8 const_func __attribute__((overloadable)) convert_uint8_sat_rtn(double8);
11812uint8 const_func __attribute__((overloadable)) convert_uint8(double8);
11813uint8 const_func __attribute__((overloadable)) convert_uint8_sat(double8);
11814long8 const_func __attribute__((overloadable)) convert_long8_rte(char8);
11815long8 const_func __attribute__((overloadable)) convert_long8_sat_rte(char8);
11816long8 const_func __attribute__((overloadable)) convert_long8_rtz(char8);
11817long8 const_func __attribute__((overloadable)) convert_long8_sat_rtz(char8);
11818long8 const_func __attribute__((overloadable)) convert_long8_rtp(char8);
11819long8 const_func __attribute__((overloadable)) convert_long8_sat_rtp(char8);
11820long8 const_func __attribute__((overloadable)) convert_long8_rtn(char8);
11821long8 const_func __attribute__((overloadable)) convert_long8_sat_rtn(char8);
11822long8 const_func __attribute__((overloadable)) convert_long8(char8);
11823long8 const_func __attribute__((overloadable)) convert_long8_sat(char8);
11824long8 const_func __attribute__((overloadable)) convert_long8_rte(uchar8);
11825long8 const_func __attribute__((overloadable)) convert_long8_sat_rte(uchar8);
11826long8 const_func __attribute__((overloadable)) convert_long8_rtz(uchar8);
11827long8 const_func __attribute__((overloadable)) convert_long8_sat_rtz(uchar8);
11828long8 const_func __attribute__((overloadable)) convert_long8_rtp(uchar8);
11829long8 const_func __attribute__((overloadable)) convert_long8_sat_rtp(uchar8);
11830long8 const_func __attribute__((overloadable)) convert_long8_rtn(uchar8);
11831long8 const_func __attribute__((overloadable)) convert_long8_sat_rtn(uchar8);
11832long8 const_func __attribute__((overloadable)) convert_long8(uchar8);
11833long8 const_func __attribute__((overloadable)) convert_long8_sat(uchar8);
11834long8 const_func __attribute__((overloadable)) convert_long8_rte(short8);
11835long8 const_func __attribute__((overloadable)) convert_long8_sat_rte(short8);
11836long8 const_func __attribute__((overloadable)) convert_long8_rtz(short8);
11837long8 const_func __attribute__((overloadable)) convert_long8_sat_rtz(short8);
11838long8 const_func __attribute__((overloadable)) convert_long8_rtp(short8);
11839long8 const_func __attribute__((overloadable)) convert_long8_sat_rtp(short8);
11840long8 const_func __attribute__((overloadable)) convert_long8_rtn(short8);
11841long8 const_func __attribute__((overloadable)) convert_long8_sat_rtn(short8);
11842long8 const_func __attribute__((overloadable)) convert_long8(short8);
11843long8 const_func __attribute__((overloadable)) convert_long8_sat(short8);
11844long8 const_func __attribute__((overloadable)) convert_long8_rte(ushort8);
11845long8 const_func __attribute__((overloadable)) convert_long8_sat_rte(ushort8);
11846long8 const_func __attribute__((overloadable)) convert_long8_rtz(ushort8);
11847long8 const_func __attribute__((overloadable)) convert_long8_sat_rtz(ushort8);
11848long8 const_func __attribute__((overloadable)) convert_long8_rtp(ushort8);
11849long8 const_func __attribute__((overloadable)) convert_long8_sat_rtp(ushort8);
11850long8 const_func __attribute__((overloadable)) convert_long8_rtn(ushort8);
11851long8 const_func __attribute__((overloadable)) convert_long8_sat_rtn(ushort8);
11852long8 const_func __attribute__((overloadable)) convert_long8(ushort8);
11853long8 const_func __attribute__((overloadable)) convert_long8_sat(ushort8);
11854long8 const_func __attribute__((overloadable)) convert_long8_rte(int8);
11855long8 const_func __attribute__((overloadable)) convert_long8_sat_rte(int8);
11856long8 const_func __attribute__((overloadable)) convert_long8_rtz(int8);
11857long8 const_func __attribute__((overloadable)) convert_long8_sat_rtz(int8);
11858long8 const_func __attribute__((overloadable)) convert_long8_rtp(int8);
11859long8 const_func __attribute__((overloadable)) convert_long8_sat_rtp(int8);
11860long8 const_func __attribute__((overloadable)) convert_long8_rtn(int8);
11861long8 const_func __attribute__((overloadable)) convert_long8_sat_rtn(int8);
11862long8 const_func __attribute__((overloadable)) convert_long8(int8);
11863long8 const_func __attribute__((overloadable)) convert_long8_sat(int8);
11864long8 const_func __attribute__((overloadable)) convert_long8_rte(uint8);
11865long8 const_func __attribute__((overloadable)) convert_long8_sat_rte(uint8);
11866long8 const_func __attribute__((overloadable)) convert_long8_rtz(uint8);
11867long8 const_func __attribute__((overloadable)) convert_long8_sat_rtz(uint8);
11868long8 const_func __attribute__((overloadable)) convert_long8_rtp(uint8);
11869long8 const_func __attribute__((overloadable)) convert_long8_sat_rtp(uint8);
11870long8 const_func __attribute__((overloadable)) convert_long8_rtn(uint8);
11871long8 const_func __attribute__((overloadable)) convert_long8_sat_rtn(uint8);
11872long8 const_func __attribute__((overloadable)) convert_long8(uint8);
11873long8 const_func __attribute__((overloadable)) convert_long8_sat(uint8);
11874long8 const_func __attribute__((overloadable)) convert_long8_rte(long8);
11875long8 const_func __attribute__((overloadable)) convert_long8_sat_rte(long8);
11876long8 const_func __attribute__((overloadable)) convert_long8_rtz(long8);
11877long8 const_func __attribute__((overloadable)) convert_long8_sat_rtz(long8);
11878long8 const_func __attribute__((overloadable)) convert_long8_rtp(long8);
11879long8 const_func __attribute__((overloadable)) convert_long8_sat_rtp(long8);
11880long8 const_func __attribute__((overloadable)) convert_long8_rtn(long8);
11881long8 const_func __attribute__((overloadable)) convert_long8_sat_rtn(long8);
11882long8 const_func __attribute__((overloadable)) convert_long8(long8);
11883long8 const_func __attribute__((overloadable)) convert_long8_sat(long8);
11884long8 const_func __attribute__((overloadable)) convert_long8_rte(ulong8);
11885long8 const_func __attribute__((overloadable)) convert_long8_sat_rte(ulong8);
11886long8 const_func __attribute__((overloadable)) convert_long8_rtz(ulong8);
11887long8 const_func __attribute__((overloadable)) convert_long8_sat_rtz(ulong8);
11888long8 const_func __attribute__((overloadable)) convert_long8_rtp(ulong8);
11889long8 const_func __attribute__((overloadable)) convert_long8_sat_rtp(ulong8);
11890long8 const_func __attribute__((overloadable)) convert_long8_rtn(ulong8);
11891long8 const_func __attribute__((overloadable)) convert_long8_sat_rtn(ulong8);
11892long8 const_func __attribute__((overloadable)) convert_long8(ulong8);
11893long8 const_func __attribute__((overloadable)) convert_long8_sat(ulong8);
11894long8 const_func __attribute__((overloadable)) convert_long8_rte(float8);
11895long8 const_func __attribute__((overloadable)) convert_long8_sat_rte(float8);
11896long8 const_func __attribute__((overloadable)) convert_long8_rtz(float8);
11897long8 const_func __attribute__((overloadable)) convert_long8_sat_rtz(float8);
11898long8 const_func __attribute__((overloadable)) convert_long8_rtp(float8);
11899long8 const_func __attribute__((overloadable)) convert_long8_sat_rtp(float8);
11900long8 const_func __attribute__((overloadable)) convert_long8_rtn(float8);
11901long8 const_func __attribute__((overloadable)) convert_long8_sat_rtn(float8);
11902long8 const_func __attribute__((overloadable)) convert_long8(float8);
11903long8 const_func __attribute__((overloadable)) convert_long8_sat(float8);
11904long8 const_func __attribute__((overloadable)) convert_long8_rte(double8);
11905long8 const_func __attribute__((overloadable)) convert_long8_sat_rte(double8);
11906long8 const_func __attribute__((overloadable)) convert_long8_rtz(double8);
11907long8 const_func __attribute__((overloadable)) convert_long8_sat_rtz(double8);
11908long8 const_func __attribute__((overloadable)) convert_long8_rtp(double8);
11909long8 const_func __attribute__((overloadable)) convert_long8_sat_rtp(double8);
11910long8 const_func __attribute__((overloadable)) convert_long8_rtn(double8);
11911long8 const_func __attribute__((overloadable)) convert_long8_sat_rtn(double8);
11912long8 const_func __attribute__((overloadable)) convert_long8(double8);
11913long8 const_func __attribute__((overloadable)) convert_long8_sat(double8);
11914
11915ulong8 const_func __attribute__((overloadable)) convert_ulong8_rte(char8);
11916ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rte(char8);
11917ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtz(char8);
11918ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtz(char8);
11919ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtp(char8);
11920ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtp(char8);
11921ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtn(char8);
11922ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtn(char8);
11923ulong8 const_func __attribute__((overloadable)) convert_ulong8(char8);
11924ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat(char8);
11925ulong8 const_func __attribute__((overloadable)) convert_ulong8_rte(uchar8);
11926ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rte(uchar8);
11927ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtz(uchar8);
11928ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtz(uchar8);
11929ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtp(uchar8);
11930ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtp(uchar8);
11931ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtn(uchar8);
11932ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtn(uchar8);
11933ulong8 const_func __attribute__((overloadable)) convert_ulong8(uchar8);
11934ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat(uchar8);
11935ulong8 const_func __attribute__((overloadable)) convert_ulong8_rte(short8);
11936ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rte(short8);
11937ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtz(short8);
11938ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtz(short8);
11939ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtp(short8);
11940ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtp(short8);
11941ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtn(short8);
11942ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtn(short8);
11943ulong8 const_func __attribute__((overloadable)) convert_ulong8(short8);
11944ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat(short8);
11945ulong8 const_func __attribute__((overloadable)) convert_ulong8_rte(ushort8);
11946ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rte(ushort8);
11947ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtz(ushort8);
11948ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtz(ushort8);
11949ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtp(ushort8);
11950ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtp(ushort8);
11951ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtn(ushort8);
11952ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtn(ushort8);
11953ulong8 const_func __attribute__((overloadable)) convert_ulong8(ushort8);
11954ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat(ushort8);
11955ulong8 const_func __attribute__((overloadable)) convert_ulong8_rte(int8);
11956ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rte(int8);
11957ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtz(int8);
11958ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtz(int8);
11959ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtp(int8);
11960ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtp(int8);
11961ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtn(int8);
11962ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtn(int8);
11963ulong8 const_func __attribute__((overloadable)) convert_ulong8(int8);
11964ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat(int8);
11965ulong8 const_func __attribute__((overloadable)) convert_ulong8_rte(uint8);
11966ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rte(uint8);
11967ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtz(uint8);
11968ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtz(uint8);
11969ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtp(uint8);
11970ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtp(uint8);
11971ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtn(uint8);
11972ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtn(uint8);
11973ulong8 const_func __attribute__((overloadable)) convert_ulong8(uint8);
11974ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat(uint8);
11975ulong8 const_func __attribute__((overloadable)) convert_ulong8_rte(long8);
11976ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rte(long8);
11977ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtz(long8);
11978ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtz(long8);
11979ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtp(long8);
11980ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtp(long8);
11981ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtn(long8);
11982ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtn(long8);
11983ulong8 const_func __attribute__((overloadable)) convert_ulong8(long8);
11984ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat(long8);
11985ulong8 const_func __attribute__((overloadable)) convert_ulong8_rte(ulong8);
11986ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rte(ulong8);
11987ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtz(ulong8);
11988ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtz(ulong8);
11989ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtp(ulong8);
11990ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtp(ulong8);
11991ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtn(ulong8);
11992ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtn(ulong8);
11993ulong8 const_func __attribute__((overloadable)) convert_ulong8(ulong8);
11994ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat(ulong8);
11995ulong8 const_func __attribute__((overloadable)) convert_ulong8_rte(float8);
11996ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rte(float8);
11997ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtz(float8);
11998ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtz(float8);
11999ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtp(float8);
12000ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtp(float8);
12001ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtn(float8);
12002ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtn(float8);
12003ulong8 const_func __attribute__((overloadable)) convert_ulong8(float8);
12004ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat(float8);
12005ulong8 const_func __attribute__((overloadable)) convert_ulong8_rte(double8);
12006ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rte(double8);
12007ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtz(double8);
12008ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtz(double8);
12009ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtp(double8);
12010ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtp(double8);
12011ulong8 const_func __attribute__((overloadable)) convert_ulong8_rtn(double8);
12012ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat_rtn(double8);
12013ulong8 const_func __attribute__((overloadable)) convert_ulong8(double8);
12014ulong8 const_func __attribute__((overloadable)) convert_ulong8_sat(double8);
12015
12016float8 const_func __attribute__((overloadable)) convert_float8_rte(char8);
12017float8 const_func __attribute__((overloadable)) convert_float8_rtz(char8);
12018float8 const_func __attribute__((overloadable)) convert_float8_rtp(char8);
12019float8 const_func __attribute__((overloadable)) convert_float8_rtn(char8);
12020float8 const_func __attribute__((overloadable)) convert_float8(char8);
12021float8 const_func __attribute__((overloadable)) convert_float8_rte(uchar8);
12022float8 const_func __attribute__((overloadable)) convert_float8_rtz(uchar8);
12023float8 const_func __attribute__((overloadable)) convert_float8_rtp(uchar8);
12024float8 const_func __attribute__((overloadable)) convert_float8_rtn(uchar8);
12025float8 const_func __attribute__((overloadable)) convert_float8(uchar8);
12026float8 const_func __attribute__((overloadable)) convert_float8_rte(short8);
12027float8 const_func __attribute__((overloadable)) convert_float8_rtz(short8);
12028float8 const_func __attribute__((overloadable)) convert_float8_rtp(short8);
12029float8 const_func __attribute__((overloadable)) convert_float8_rtn(short8);
12030float8 const_func __attribute__((overloadable)) convert_float8(short8);
12031float8 const_func __attribute__((overloadable)) convert_float8_rte(ushort8);
12032float8 const_func __attribute__((overloadable)) convert_float8_rtz(ushort8);
12033float8 const_func __attribute__((overloadable)) convert_float8_rtp(ushort8);
12034float8 const_func __attribute__((overloadable)) convert_float8_rtn(ushort8);
12035float8 const_func __attribute__((overloadable)) convert_float8(ushort8);
12036float8 const_func __attribute__((overloadable)) convert_float8_rte(int8);
12037float8 const_func __attribute__((overloadable)) convert_float8_rtz(int8);
12038float8 const_func __attribute__((overloadable)) convert_float8_rtp(int8);
12039float8 const_func __attribute__((overloadable)) convert_float8_rtn(int8);
12040float8 const_func __attribute__((overloadable)) convert_float8(int8);
12041float8 const_func __attribute__((overloadable)) convert_float8_rte(uint8);
12042float8 const_func __attribute__((overloadable)) convert_float8_rtz(uint8);
12043float8 const_func __attribute__((overloadable)) convert_float8_rtp(uint8);
12044float8 const_func __attribute__((overloadable)) convert_float8_rtn(uint8);
12045float8 const_func __attribute__((overloadable)) convert_float8(uint8);
12046float8 const_func __attribute__((overloadable)) convert_float8_rte(long8);
12047float8 const_func __attribute__((overloadable)) convert_float8_rtz(long8);
12048float8 const_func __attribute__((overloadable)) convert_float8_rtp(long8);
12049float8 const_func __attribute__((overloadable)) convert_float8_rtn(long8);
12050float8 const_func __attribute__((overloadable)) convert_float8(long8);
12051float8 const_func __attribute__((overloadable)) convert_float8_rte(ulong8);
12052float8 const_func __attribute__((overloadable)) convert_float8_rtz(ulong8);
12053float8 const_func __attribute__((overloadable)) convert_float8_rtp(ulong8);
12054float8 const_func __attribute__((overloadable)) convert_float8_rtn(ulong8);
12055float8 const_func __attribute__((overloadable)) convert_float8(ulong8);
12056float8 const_func __attribute__((overloadable)) convert_float8_rte(float8);
12057float8 const_func __attribute__((overloadable)) convert_float8_rtz(float8);
12058float8 const_func __attribute__((overloadable)) convert_float8_rtp(float8);
12059float8 const_func __attribute__((overloadable)) convert_float8_rtn(float8);
12060float8 const_func __attribute__((overloadable)) convert_float8(float8);
12061float8 const_func __attribute__((overloadable)) convert_float8_rte(double8);
12062float8 const_func __attribute__((overloadable)) convert_float8_rtz(double8);
12063float8 const_func __attribute__((overloadable)) convert_float8_rtp(double8);
12064float8 const_func __attribute__((overloadable)) convert_float8_rtn(double8);
12065float8 const_func __attribute__((overloadable)) convert_float8(double8);
12066
12067double8 const_func __attribute__((overloadable)) convert_double8_rte(char8);
12068double8 const_func __attribute__((overloadable)) convert_double8_rtz(char8);
12069double8 const_func __attribute__((overloadable)) convert_double8_rtp(char8);
12070double8 const_func __attribute__((overloadable)) convert_double8_rtn(char8);
12071double8 const_func __attribute__((overloadable)) convert_double8(char8);
12072double8 const_func __attribute__((overloadable)) convert_double8_rte(uchar8);
12073double8 const_func __attribute__((overloadable)) convert_double8_rtz(uchar8);
12074double8 const_func __attribute__((overloadable)) convert_double8_rtp(uchar8);
12075double8 const_func __attribute__((overloadable)) convert_double8_rtn(uchar8);
12076double8 const_func __attribute__((overloadable)) convert_double8(uchar8);
12077double8 const_func __attribute__((overloadable)) convert_double8_rte(short8);
12078double8 const_func __attribute__((overloadable)) convert_double8_rtz(short8);
12079double8 const_func __attribute__((overloadable)) convert_double8_rtp(short8);
12080double8 const_func __attribute__((overloadable)) convert_double8_rtn(short8);
12081double8 const_func __attribute__((overloadable)) convert_double8(short8);
12082double8 const_func __attribute__((overloadable)) convert_double8_rte(ushort8);
12083double8 const_func __attribute__((overloadable)) convert_double8_rtz(ushort8);
12084double8 const_func __attribute__((overloadable)) convert_double8_rtp(ushort8);
12085double8 const_func __attribute__((overloadable)) convert_double8_rtn(ushort8);
12086double8 const_func __attribute__((overloadable)) convert_double8(ushort8);
12087double8 const_func __attribute__((overloadable)) convert_double8_rte(int8);
12088double8 const_func __attribute__((overloadable)) convert_double8_rtz(int8);
12089double8 const_func __attribute__((overloadable)) convert_double8_rtp(int8);
12090double8 const_func __attribute__((overloadable)) convert_double8_rtn(int8);
12091double8 const_func __attribute__((overloadable)) convert_double8(int8);
12092double8 const_func __attribute__((overloadable)) convert_double8_rte(uint8);
12093double8 const_func __attribute__((overloadable)) convert_double8_rtz(uint8);
12094double8 const_func __attribute__((overloadable)) convert_double8_rtp(uint8);
12095double8 const_func __attribute__((overloadable)) convert_double8_rtn(uint8);
12096double8 const_func __attribute__((overloadable)) convert_double8(uint8);
12097double8 const_func __attribute__((overloadable)) convert_double8_rte(long8);
12098double8 const_func __attribute__((overloadable)) convert_double8_rtz(long8);
12099double8 const_func __attribute__((overloadable)) convert_double8_rtp(long8);
12100double8 const_func __attribute__((overloadable)) convert_double8_rtn(long8);
12101double8 const_func __attribute__((overloadable)) convert_double8(long8);
12102double8 const_func __attribute__((overloadable)) convert_double8_rte(ulong8);
12103double8 const_func __attribute__((overloadable)) convert_double8_rtz(ulong8);
12104double8 const_func __attribute__((overloadable)) convert_double8_rtp(ulong8);
12105double8 const_func __attribute__((overloadable)) convert_double8_rtn(ulong8);
12106double8 const_func __attribute__((overloadable)) convert_double8(ulong8);
12107double8 const_func __attribute__((overloadable)) convert_double8_rte(float8);
12108double8 const_func __attribute__((overloadable)) convert_double8_rtz(float8);
12109double8 const_func __attribute__((overloadable)) convert_double8_rtp(float8);
12110double8 const_func __attribute__((overloadable)) convert_double8_rtn(float8);
12111double8 const_func __attribute__((overloadable)) convert_double8(float8);
12112double8 const_func __attribute__((overloadable)) convert_double8_rte(double8);
12113double8 const_func __attribute__((overloadable)) convert_double8_rtz(double8);
12114double8 const_func __attribute__((overloadable)) convert_double8_rtp(double8);
12115double8 const_func __attribute__((overloadable)) convert_double8_rtn(double8);
12116double8 const_func __attribute__((overloadable)) convert_double8(double8);
12117char16 const_func __attribute__((overloadable)) convert_char16_rte(char16);
12118char16 const_func __attribute__((overloadable)) convert_char16_sat_rte(char16);
12119char16 const_func __attribute__((overloadable)) convert_char16_rtz(char16);
12120char16 const_func __attribute__((overloadable)) convert_char16_sat_rtz(char16);
12121char16 const_func __attribute__((overloadable)) convert_char16_rtp(char16);
12122char16 const_func __attribute__((overloadable)) convert_char16_sat_rtp(char16);
12123char16 const_func __attribute__((overloadable)) convert_char16_rtn(char16);
12124char16 const_func __attribute__((overloadable)) convert_char16_sat_rtn(char16);
12125char16 const_func __attribute__((overloadable)) convert_char16(char16);
12126char16 const_func __attribute__((overloadable)) convert_char16_sat(char16);
12127char16 const_func __attribute__((overloadable)) convert_char16_rte(uchar16);
12128char16 const_func __attribute__((overloadable)) convert_char16_sat_rte(uchar16);
12129char16 const_func __attribute__((overloadable)) convert_char16_rtz(uchar16);
12130char16 const_func __attribute__((overloadable)) convert_char16_sat_rtz(uchar16);
12131char16 const_func __attribute__((overloadable)) convert_char16_rtp(uchar16);
12132char16 const_func __attribute__((overloadable)) convert_char16_sat_rtp(uchar16);
12133char16 const_func __attribute__((overloadable)) convert_char16_rtn(uchar16);
12134char16 const_func __attribute__((overloadable)) convert_char16_sat_rtn(uchar16);
12135char16 const_func __attribute__((overloadable)) convert_char16(uchar16);
12136char16 const_func __attribute__((overloadable)) convert_char16_sat(uchar16);
12137char16 const_func __attribute__((overloadable)) convert_char16_rte(short16);
12138char16 const_func __attribute__((overloadable)) convert_char16_sat_rte(short16);
12139char16 const_func __attribute__((overloadable)) convert_char16_rtz(short16);
12140char16 const_func __attribute__((overloadable)) convert_char16_sat_rtz(short16);
12141char16 const_func __attribute__((overloadable)) convert_char16_rtp(short16);
12142char16 const_func __attribute__((overloadable)) convert_char16_sat_rtp(short16);
12143char16 const_func __attribute__((overloadable)) convert_char16_rtn(short16);
12144char16 const_func __attribute__((overloadable)) convert_char16_sat_rtn(short16);
12145char16 const_func __attribute__((overloadable)) convert_char16(short16);
12146char16 const_func __attribute__((overloadable)) convert_char16_sat(short16);
12147char16 const_func __attribute__((overloadable)) convert_char16_rte(ushort16);
12148char16 const_func __attribute__((overloadable)) convert_char16_sat_rte(ushort16);
12149char16 const_func __attribute__((overloadable)) convert_char16_rtz(ushort16);
12150char16 const_func __attribute__((overloadable)) convert_char16_sat_rtz(ushort16);
12151char16 const_func __attribute__((overloadable)) convert_char16_rtp(ushort16);
12152char16 const_func __attribute__((overloadable)) convert_char16_sat_rtp(ushort16);
12153char16 const_func __attribute__((overloadable)) convert_char16_rtn(ushort16);
12154char16 const_func __attribute__((overloadable)) convert_char16_sat_rtn(ushort16);
12155char16 const_func __attribute__((overloadable)) convert_char16(ushort16);
12156char16 const_func __attribute__((overloadable)) convert_char16_sat(ushort16);
12157char16 const_func __attribute__((overloadable)) convert_char16_rte(int16);
12158char16 const_func __attribute__((overloadable)) convert_char16_sat_rte(int16);
12159char16 const_func __attribute__((overloadable)) convert_char16_rtz(int16);
12160char16 const_func __attribute__((overloadable)) convert_char16_sat_rtz(int16);
12161char16 const_func __attribute__((overloadable)) convert_char16_rtp(int16);
12162char16 const_func __attribute__((overloadable)) convert_char16_sat_rtp(int16);
12163char16 const_func __attribute__((overloadable)) convert_char16_rtn(int16);
12164char16 const_func __attribute__((overloadable)) convert_char16_sat_rtn(int16);
12165char16 const_func __attribute__((overloadable)) convert_char16(int16);
12166char16 const_func __attribute__((overloadable)) convert_char16_sat(int16);
12167char16 const_func __attribute__((overloadable)) convert_char16_rte(uint16);
12168char16 const_func __attribute__((overloadable)) convert_char16_sat_rte(uint16);
12169char16 const_func __attribute__((overloadable)) convert_char16_rtz(uint16);
12170char16 const_func __attribute__((overloadable)) convert_char16_sat_rtz(uint16);
12171char16 const_func __attribute__((overloadable)) convert_char16_rtp(uint16);
12172char16 const_func __attribute__((overloadable)) convert_char16_sat_rtp(uint16);
12173char16 const_func __attribute__((overloadable)) convert_char16_rtn(uint16);
12174char16 const_func __attribute__((overloadable)) convert_char16_sat_rtn(uint16);
12175char16 const_func __attribute__((overloadable)) convert_char16(uint16);
12176char16 const_func __attribute__((overloadable)) convert_char16_sat(uint16);
12177char16 const_func __attribute__((overloadable)) convert_char16_rte(long16);
12178char16 const_func __attribute__((overloadable)) convert_char16_sat_rte(long16);
12179char16 const_func __attribute__((overloadable)) convert_char16_rtz(long16);
12180char16 const_func __attribute__((overloadable)) convert_char16_sat_rtz(long16);
12181char16 const_func __attribute__((overloadable)) convert_char16_rtp(long16);
12182char16 const_func __attribute__((overloadable)) convert_char16_sat_rtp(long16);
12183char16 const_func __attribute__((overloadable)) convert_char16_rtn(long16);
12184char16 const_func __attribute__((overloadable)) convert_char16_sat_rtn(long16);
12185char16 const_func __attribute__((overloadable)) convert_char16(long16);
12186char16 const_func __attribute__((overloadable)) convert_char16_sat(long16);
12187char16 const_func __attribute__((overloadable)) convert_char16_rte(ulong16);
12188char16 const_func __attribute__((overloadable)) convert_char16_sat_rte(ulong16);
12189char16 const_func __attribute__((overloadable)) convert_char16_rtz(ulong16);
12190char16 const_func __attribute__((overloadable)) convert_char16_sat_rtz(ulong16);
12191char16 const_func __attribute__((overloadable)) convert_char16_rtp(ulong16);
12192char16 const_func __attribute__((overloadable)) convert_char16_sat_rtp(ulong16);
12193char16 const_func __attribute__((overloadable)) convert_char16_rtn(ulong16);
12194char16 const_func __attribute__((overloadable)) convert_char16_sat_rtn(ulong16);
12195char16 const_func __attribute__((overloadable)) convert_char16(ulong16);
12196char16 const_func __attribute__((overloadable)) convert_char16_sat(ulong16);
12197char16 const_func __attribute__((overloadable)) convert_char16_rte(float16);
12198char16 const_func __attribute__((overloadable)) convert_char16_sat_rte(float16);
12199char16 const_func __attribute__((overloadable)) convert_char16_rtz(float16);
12200char16 const_func __attribute__((overloadable)) convert_char16_sat_rtz(float16);
12201char16 const_func __attribute__((overloadable)) convert_char16_rtp(float16);
12202char16 const_func __attribute__((overloadable)) convert_char16_sat_rtp(float16);
12203char16 const_func __attribute__((overloadable)) convert_char16_rtn(float16);
12204char16 const_func __attribute__((overloadable)) convert_char16_sat_rtn(float16);
12205char16 const_func __attribute__((overloadable)) convert_char16(float16);
12206char16 const_func __attribute__((overloadable)) convert_char16_sat(float16);
12207char16 const_func __attribute__((overloadable)) convert_char16_rte(double16);
12208char16 const_func __attribute__((overloadable)) convert_char16_sat_rte(double16);
12209char16 const_func __attribute__((overloadable)) convert_char16_rtz(double16);
12210char16 const_func __attribute__((overloadable)) convert_char16_sat_rtz(double16);
12211char16 const_func __attribute__((overloadable)) convert_char16_rtp(double16);
12212char16 const_func __attribute__((overloadable)) convert_char16_sat_rtp(double16);
12213char16 const_func __attribute__((overloadable)) convert_char16_rtn(double16);
12214char16 const_func __attribute__((overloadable)) convert_char16_sat_rtn(double16);
12215char16 const_func __attribute__((overloadable)) convert_char16(double16);
12216char16 const_func __attribute__((overloadable)) convert_char16_sat(double16);
12217
12218uchar16 const_func __attribute__((overloadable)) convert_uchar16_rte(char16);
12219uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rte(char16);
12220uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtz(char16);
12221uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtz(char16);
12222uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtp(char16);
12223uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtp(char16);
12224uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtn(char16);
12225uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtn(char16);
12226uchar16 const_func __attribute__((overloadable)) convert_uchar16(char16);
12227uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat(char16);
12228uchar16 const_func __attribute__((overloadable)) convert_uchar16_rte(uchar16);
12229uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rte(uchar16);
12230uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtz(uchar16);
12231uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtz(uchar16);
12232uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtp(uchar16);
12233uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtp(uchar16);
12234uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtn(uchar16);
12235uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtn(uchar16);
12236uchar16 const_func __attribute__((overloadable)) convert_uchar16(uchar16);
12237uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat(uchar16);
12238uchar16 const_func __attribute__((overloadable)) convert_uchar16_rte(short16);
12239uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rte(short16);
12240uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtz(short16);
12241uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtz(short16);
12242uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtp(short16);
12243uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtp(short16);
12244uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtn(short16);
12245uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtn(short16);
12246uchar16 const_func __attribute__((overloadable)) convert_uchar16(short16);
12247uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat(short16);
12248uchar16 const_func __attribute__((overloadable)) convert_uchar16_rte(ushort16);
12249uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rte(ushort16);
12250uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtz(ushort16);
12251uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtz(ushort16);
12252uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtp(ushort16);
12253uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtp(ushort16);
12254uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtn(ushort16);
12255uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtn(ushort16);
12256uchar16 const_func __attribute__((overloadable)) convert_uchar16(ushort16);
12257uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat(ushort16);
12258uchar16 const_func __attribute__((overloadable)) convert_uchar16_rte(int16);
12259uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rte(int16);
12260uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtz(int16);
12261uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtz(int16);
12262uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtp(int16);
12263uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtp(int16);
12264uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtn(int16);
12265uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtn(int16);
12266uchar16 const_func __attribute__((overloadable)) convert_uchar16(int16);
12267uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat(int16);
12268uchar16 const_func __attribute__((overloadable)) convert_uchar16_rte(uint16);
12269uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rte(uint16);
12270uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtz(uint16);
12271uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtz(uint16);
12272uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtp(uint16);
12273uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtp(uint16);
12274uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtn(uint16);
12275uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtn(uint16);
12276uchar16 const_func __attribute__((overloadable)) convert_uchar16(uint16);
12277uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat(uint16);
12278uchar16 const_func __attribute__((overloadable)) convert_uchar16_rte(long16);
12279uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rte(long16);
12280uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtz(long16);
12281uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtz(long16);
12282uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtp(long16);
12283uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtp(long16);
12284uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtn(long16);
12285uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtn(long16);
12286uchar16 const_func __attribute__((overloadable)) convert_uchar16(long16);
12287uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat(long16);
12288uchar16 const_func __attribute__((overloadable)) convert_uchar16_rte(ulong16);
12289uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rte(ulong16);
12290uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtz(ulong16);
12291uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtz(ulong16);
12292uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtp(ulong16);
12293uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtp(ulong16);
12294uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtn(ulong16);
12295uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtn(ulong16);
12296uchar16 const_func __attribute__((overloadable)) convert_uchar16(ulong16);
12297uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat(ulong16);
12298uchar16 const_func __attribute__((overloadable)) convert_uchar16_rte(float16);
12299uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rte(float16);
12300uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtz(float16);
12301uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtz(float16);
12302uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtp(float16);
12303uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtp(float16);
12304uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtn(float16);
12305uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtn(float16);
12306uchar16 const_func __attribute__((overloadable)) convert_uchar16(float16);
12307uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat(float16);
12308uchar16 const_func __attribute__((overloadable)) convert_uchar16_rte(double16);
12309uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rte(double16);
12310uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtz(double16);
12311uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtz(double16);
12312uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtp(double16);
12313uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtp(double16);
12314uchar16 const_func __attribute__((overloadable)) convert_uchar16_rtn(double16);
12315uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat_rtn(double16);
12316uchar16 const_func __attribute__((overloadable)) convert_uchar16(double16);
12317uchar16 const_func __attribute__((overloadable)) convert_uchar16_sat(double16);
12318
12319short16 const_func __attribute__((overloadable)) convert_short16_rte(char16);
12320short16 const_func __attribute__((overloadable)) convert_short16_sat_rte(char16);
12321short16 const_func __attribute__((overloadable)) convert_short16_rtz(char16);
12322short16 const_func __attribute__((overloadable)) convert_short16_sat_rtz(char16);
12323short16 const_func __attribute__((overloadable)) convert_short16_rtp(char16);
12324short16 const_func __attribute__((overloadable)) convert_short16_sat_rtp(char16);
12325short16 const_func __attribute__((overloadable)) convert_short16_rtn(char16);
12326short16 const_func __attribute__((overloadable)) convert_short16_sat_rtn(char16);
12327short16 const_func __attribute__((overloadable)) convert_short16(char16);
12328short16 const_func __attribute__((overloadable)) convert_short16_sat(char16);
12329short16 const_func __attribute__((overloadable)) convert_short16_rte(uchar16);
12330short16 const_func __attribute__((overloadable)) convert_short16_sat_rte(uchar16);
12331short16 const_func __attribute__((overloadable)) convert_short16_rtz(uchar16);
12332short16 const_func __attribute__((overloadable)) convert_short16_sat_rtz(uchar16);
12333short16 const_func __attribute__((overloadable)) convert_short16_rtp(uchar16);
12334short16 const_func __attribute__((overloadable)) convert_short16_sat_rtp(uchar16);
12335short16 const_func __attribute__((overloadable)) convert_short16_rtn(uchar16);
12336short16 const_func __attribute__((overloadable)) convert_short16_sat_rtn(uchar16);
12337short16 const_func __attribute__((overloadable)) convert_short16(uchar16);
12338short16 const_func __attribute__((overloadable)) convert_short16_sat(uchar16);
12339short16 const_func __attribute__((overloadable)) convert_short16_rte(short16);
12340short16 const_func __attribute__((overloadable)) convert_short16_sat_rte(short16);
12341short16 const_func __attribute__((overloadable)) convert_short16_rtz(short16);
12342short16 const_func __attribute__((overloadable)) convert_short16_sat_rtz(short16);
12343short16 const_func __attribute__((overloadable)) convert_short16_rtp(short16);
12344short16 const_func __attribute__((overloadable)) convert_short16_sat_rtp(short16);
12345short16 const_func __attribute__((overloadable)) convert_short16_rtn(short16);
12346short16 const_func __attribute__((overloadable)) convert_short16_sat_rtn(short16);
12347short16 const_func __attribute__((overloadable)) convert_short16(short16);
12348short16 const_func __attribute__((overloadable)) convert_short16_sat(short16);
12349short16 const_func __attribute__((overloadable)) convert_short16_rte(ushort16);
12350short16 const_func __attribute__((overloadable)) convert_short16_sat_rte(ushort16);
12351short16 const_func __attribute__((overloadable)) convert_short16_rtz(ushort16);
12352short16 const_func __attribute__((overloadable)) convert_short16_sat_rtz(ushort16);
12353short16 const_func __attribute__((overloadable)) convert_short16_rtp(ushort16);
12354short16 const_func __attribute__((overloadable)) convert_short16_sat_rtp(ushort16);
12355short16 const_func __attribute__((overloadable)) convert_short16_rtn(ushort16);
12356short16 const_func __attribute__((overloadable)) convert_short16_sat_rtn(ushort16);
12357short16 const_func __attribute__((overloadable)) convert_short16(ushort16);
12358short16 const_func __attribute__((overloadable)) convert_short16_sat(ushort16);
12359short16 const_func __attribute__((overloadable)) convert_short16_rte(int16);
12360short16 const_func __attribute__((overloadable)) convert_short16_sat_rte(int16);
12361short16 const_func __attribute__((overloadable)) convert_short16_rtz(int16);
12362short16 const_func __attribute__((overloadable)) convert_short16_sat_rtz(int16);
12363short16 const_func __attribute__((overloadable)) convert_short16_rtp(int16);
12364short16 const_func __attribute__((overloadable)) convert_short16_sat_rtp(int16);
12365short16 const_func __attribute__((overloadable)) convert_short16_rtn(int16);
12366short16 const_func __attribute__((overloadable)) convert_short16_sat_rtn(int16);
12367short16 const_func __attribute__((overloadable)) convert_short16(int16);
12368short16 const_func __attribute__((overloadable)) convert_short16_sat(int16);
12369short16 const_func __attribute__((overloadable)) convert_short16_rte(uint16);
12370short16 const_func __attribute__((overloadable)) convert_short16_sat_rte(uint16);
12371short16 const_func __attribute__((overloadable)) convert_short16_rtz(uint16);
12372short16 const_func __attribute__((overloadable)) convert_short16_sat_rtz(uint16);
12373short16 const_func __attribute__((overloadable)) convert_short16_rtp(uint16);
12374short16 const_func __attribute__((overloadable)) convert_short16_sat_rtp(uint16);
12375short16 const_func __attribute__((overloadable)) convert_short16_rtn(uint16);
12376short16 const_func __attribute__((overloadable)) convert_short16_sat_rtn(uint16);
12377short16 const_func __attribute__((overloadable)) convert_short16(uint16);
12378short16 const_func __attribute__((overloadable)) convert_short16_sat(uint16);
12379short16 const_func __attribute__((overloadable)) convert_short16_rte(long16);
12380short16 const_func __attribute__((overloadable)) convert_short16_sat_rte(long16);
12381short16 const_func __attribute__((overloadable)) convert_short16_rtz(long16);
12382short16 const_func __attribute__((overloadable)) convert_short16_sat_rtz(long16);
12383short16 const_func __attribute__((overloadable)) convert_short16_rtp(long16);
12384short16 const_func __attribute__((overloadable)) convert_short16_sat_rtp(long16);
12385short16 const_func __attribute__((overloadable)) convert_short16_rtn(long16);
12386short16 const_func __attribute__((overloadable)) convert_short16_sat_rtn(long16);
12387short16 const_func __attribute__((overloadable)) convert_short16(long16);
12388short16 const_func __attribute__((overloadable)) convert_short16_sat(long16);
12389short16 const_func __attribute__((overloadable)) convert_short16_rte(ulong16);
12390short16 const_func __attribute__((overloadable)) convert_short16_sat_rte(ulong16);
12391short16 const_func __attribute__((overloadable)) convert_short16_rtz(ulong16);
12392short16 const_func __attribute__((overloadable)) convert_short16_sat_rtz(ulong16);
12393short16 const_func __attribute__((overloadable)) convert_short16_rtp(ulong16);
12394short16 const_func __attribute__((overloadable)) convert_short16_sat_rtp(ulong16);
12395short16 const_func __attribute__((overloadable)) convert_short16_rtn(ulong16);
12396short16 const_func __attribute__((overloadable)) convert_short16_sat_rtn(ulong16);
12397short16 const_func __attribute__((overloadable)) convert_short16(ulong16);
12398short16 const_func __attribute__((overloadable)) convert_short16_sat(ulong16);
12399short16 const_func __attribute__((overloadable)) convert_short16_rte(float16);
12400short16 const_func __attribute__((overloadable)) convert_short16_sat_rte(float16);
12401short16 const_func __attribute__((overloadable)) convert_short16_rtz(float16);
12402short16 const_func __attribute__((overloadable)) convert_short16_sat_rtz(float16);
12403short16 const_func __attribute__((overloadable)) convert_short16_rtp(float16);
12404short16 const_func __attribute__((overloadable)) convert_short16_sat_rtp(float16);
12405short16 const_func __attribute__((overloadable)) convert_short16_rtn(float16);
12406short16 const_func __attribute__((overloadable)) convert_short16_sat_rtn(float16);
12407short16 const_func __attribute__((overloadable)) convert_short16(float16);
12408short16 const_func __attribute__((overloadable)) convert_short16_sat(float16);
12409short16 const_func __attribute__((overloadable)) convert_short16_rte(double16);
12410short16 const_func __attribute__((overloadable)) convert_short16_sat_rte(double16);
12411short16 const_func __attribute__((overloadable)) convert_short16_rtz(double16);
12412short16 const_func __attribute__((overloadable)) convert_short16_sat_rtz(double16);
12413short16 const_func __attribute__((overloadable)) convert_short16_rtp(double16);
12414short16 const_func __attribute__((overloadable)) convert_short16_sat_rtp(double16);
12415short16 const_func __attribute__((overloadable)) convert_short16_rtn(double16);
12416short16 const_func __attribute__((overloadable)) convert_short16_sat_rtn(double16);
12417short16 const_func __attribute__((overloadable)) convert_short16(double16);
12418short16 const_func __attribute__((overloadable)) convert_short16_sat(double16);
12419
12420ushort16 const_func __attribute__((overloadable)) convert_ushort16_rte(char16);
12421ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rte(char16);
12422ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtz(char16);
12423ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtz(char16);
12424ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtp(char16);
12425ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtp(char16);
12426ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtn(char16);
12427ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtn(char16);
12428ushort16 const_func __attribute__((overloadable)) convert_ushort16(char16);
12429ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat(char16);
12430ushort16 const_func __attribute__((overloadable)) convert_ushort16_rte(uchar16);
12431ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rte(uchar16);
12432ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtz(uchar16);
12433ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtz(uchar16);
12434ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtp(uchar16);
12435ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtp(uchar16);
12436ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtn(uchar16);
12437ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtn(uchar16);
12438ushort16 const_func __attribute__((overloadable)) convert_ushort16(uchar16);
12439ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat(uchar16);
12440ushort16 const_func __attribute__((overloadable)) convert_ushort16_rte(short16);
12441ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rte(short16);
12442ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtz(short16);
12443ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtz(short16);
12444ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtp(short16);
12445ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtp(short16);
12446ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtn(short16);
12447ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtn(short16);
12448ushort16 const_func __attribute__((overloadable)) convert_ushort16(short16);
12449ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat(short16);
12450ushort16 const_func __attribute__((overloadable)) convert_ushort16_rte(ushort16);
12451ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rte(ushort16);
12452ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtz(ushort16);
12453ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtz(ushort16);
12454ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtp(ushort16);
12455ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtp(ushort16);
12456ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtn(ushort16);
12457ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtn(ushort16);
12458ushort16 const_func __attribute__((overloadable)) convert_ushort16(ushort16);
12459ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat(ushort16);
12460ushort16 const_func __attribute__((overloadable)) convert_ushort16_rte(int16);
12461ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rte(int16);
12462ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtz(int16);
12463ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtz(int16);
12464ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtp(int16);
12465ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtp(int16);
12466ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtn(int16);
12467ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtn(int16);
12468ushort16 const_func __attribute__((overloadable)) convert_ushort16(int16);
12469ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat(int16);
12470ushort16 const_func __attribute__((overloadable)) convert_ushort16_rte(uint16);
12471ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rte(uint16);
12472ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtz(uint16);
12473ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtz(uint16);
12474ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtp(uint16);
12475ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtp(uint16);
12476ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtn(uint16);
12477ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtn(uint16);
12478ushort16 const_func __attribute__((overloadable)) convert_ushort16(uint16);
12479ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat(uint16);
12480ushort16 const_func __attribute__((overloadable)) convert_ushort16_rte(long16);
12481ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rte(long16);
12482ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtz(long16);
12483ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtz(long16);
12484ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtp(long16);
12485ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtp(long16);
12486ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtn(long16);
12487ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtn(long16);
12488ushort16 const_func __attribute__((overloadable)) convert_ushort16(long16);
12489ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat(long16);
12490ushort16 const_func __attribute__((overloadable)) convert_ushort16_rte(ulong16);
12491ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rte(ulong16);
12492ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtz(ulong16);
12493ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtz(ulong16);
12494ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtp(ulong16);
12495ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtp(ulong16);
12496ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtn(ulong16);
12497ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtn(ulong16);
12498ushort16 const_func __attribute__((overloadable)) convert_ushort16(ulong16);
12499ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat(ulong16);
12500ushort16 const_func __attribute__((overloadable)) convert_ushort16_rte(float16);
12501ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rte(float16);
12502ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtz(float16);
12503ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtz(float16);
12504ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtp(float16);
12505ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtp(float16);
12506ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtn(float16);
12507ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtn(float16);
12508ushort16 const_func __attribute__((overloadable)) convert_ushort16(float16);
12509ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat(float16);
12510ushort16 const_func __attribute__((overloadable)) convert_ushort16_rte(double16);
12511ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rte(double16);
12512ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtz(double16);
12513ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtz(double16);
12514ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtp(double16);
12515ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtp(double16);
12516ushort16 const_func __attribute__((overloadable)) convert_ushort16_rtn(double16);
12517ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat_rtn(double16);
12518ushort16 const_func __attribute__((overloadable)) convert_ushort16(double16);
12519ushort16 const_func __attribute__((overloadable)) convert_ushort16_sat(double16);
12520
12521int16 const_func __attribute__((overloadable)) convert_int16_rte(char16);
12522int16 const_func __attribute__((overloadable)) convert_int16_sat_rte(char16);
12523int16 const_func __attribute__((overloadable)) convert_int16_rtz(char16);
12524int16 const_func __attribute__((overloadable)) convert_int16_sat_rtz(char16);
12525int16 const_func __attribute__((overloadable)) convert_int16_rtp(char16);
12526int16 const_func __attribute__((overloadable)) convert_int16_sat_rtp(char16);
12527int16 const_func __attribute__((overloadable)) convert_int16_rtn(char16);
12528int16 const_func __attribute__((overloadable)) convert_int16_sat_rtn(char16);
12529int16 const_func __attribute__((overloadable)) convert_int16(char16);
12530int16 const_func __attribute__((overloadable)) convert_int16_sat(char16);
12531int16 const_func __attribute__((overloadable)) convert_int16_rte(uchar16);
12532int16 const_func __attribute__((overloadable)) convert_int16_sat_rte(uchar16);
12533int16 const_func __attribute__((overloadable)) convert_int16_rtz(uchar16);
12534int16 const_func __attribute__((overloadable)) convert_int16_sat_rtz(uchar16);
12535int16 const_func __attribute__((overloadable)) convert_int16_rtp(uchar16);
12536int16 const_func __attribute__((overloadable)) convert_int16_sat_rtp(uchar16);
12537int16 const_func __attribute__((overloadable)) convert_int16_rtn(uchar16);
12538int16 const_func __attribute__((overloadable)) convert_int16_sat_rtn(uchar16);
12539int16 const_func __attribute__((overloadable)) convert_int16(uchar16);
12540int16 const_func __attribute__((overloadable)) convert_int16_sat(uchar16);
12541int16 const_func __attribute__((overloadable)) convert_int16_rte(short16);
12542int16 const_func __attribute__((overloadable)) convert_int16_sat_rte(short16);
12543int16 const_func __attribute__((overloadable)) convert_int16_rtz(short16);
12544int16 const_func __attribute__((overloadable)) convert_int16_sat_rtz(short16);
12545int16 const_func __attribute__((overloadable)) convert_int16_rtp(short16);
12546int16 const_func __attribute__((overloadable)) convert_int16_sat_rtp(short16);
12547int16 const_func __attribute__((overloadable)) convert_int16_rtn(short16);
12548int16 const_func __attribute__((overloadable)) convert_int16_sat_rtn(short16);
12549int16 const_func __attribute__((overloadable)) convert_int16(short16);
12550int16 const_func __attribute__((overloadable)) convert_int16_sat(short16);
12551int16 const_func __attribute__((overloadable)) convert_int16_rte(ushort16);
12552int16 const_func __attribute__((overloadable)) convert_int16_sat_rte(ushort16);
12553int16 const_func __attribute__((overloadable)) convert_int16_rtz(ushort16);
12554int16 const_func __attribute__((overloadable)) convert_int16_sat_rtz(ushort16);
12555int16 const_func __attribute__((overloadable)) convert_int16_rtp(ushort16);
12556int16 const_func __attribute__((overloadable)) convert_int16_sat_rtp(ushort16);
12557int16 const_func __attribute__((overloadable)) convert_int16_rtn(ushort16);
12558int16 const_func __attribute__((overloadable)) convert_int16_sat_rtn(ushort16);
12559int16 const_func __attribute__((overloadable)) convert_int16(ushort16);
12560int16 const_func __attribute__((overloadable)) convert_int16_sat(ushort16);
12561int16 const_func __attribute__((overloadable)) convert_int16_rte(int16);
12562int16 const_func __attribute__((overloadable)) convert_int16_sat_rte(int16);
12563int16 const_func __attribute__((overloadable)) convert_int16_rtz(int16);
12564int16 const_func __attribute__((overloadable)) convert_int16_sat_rtz(int16);
12565int16 const_func __attribute__((overloadable)) convert_int16_rtp(int16);
12566int16 const_func __attribute__((overloadable)) convert_int16_sat_rtp(int16);
12567int16 const_func __attribute__((overloadable)) convert_int16_rtn(int16);
12568int16 const_func __attribute__((overloadable)) convert_int16_sat_rtn(int16);
12569int16 const_func __attribute__((overloadable)) convert_int16(int16);
12570int16 const_func __attribute__((overloadable)) convert_int16_sat(int16);
12571int16 const_func __attribute__((overloadable)) convert_int16_rte(uint16);
12572int16 const_func __attribute__((overloadable)) convert_int16_sat_rte(uint16);
12573int16 const_func __attribute__((overloadable)) convert_int16_rtz(uint16);
12574int16 const_func __attribute__((overloadable)) convert_int16_sat_rtz(uint16);
12575int16 const_func __attribute__((overloadable)) convert_int16_rtp(uint16);
12576int16 const_func __attribute__((overloadable)) convert_int16_sat_rtp(uint16);
12577int16 const_func __attribute__((overloadable)) convert_int16_rtn(uint16);
12578int16 const_func __attribute__((overloadable)) convert_int16_sat_rtn(uint16);
12579int16 const_func __attribute__((overloadable)) convert_int16(uint16);
12580int16 const_func __attribute__((overloadable)) convert_int16_sat(uint16);
12581int16 const_func __attribute__((overloadable)) convert_int16_rte(long16);
12582int16 const_func __attribute__((overloadable)) convert_int16_sat_rte(long16);
12583int16 const_func __attribute__((overloadable)) convert_int16_rtz(long16);
12584int16 const_func __attribute__((overloadable)) convert_int16_sat_rtz(long16);
12585int16 const_func __attribute__((overloadable)) convert_int16_rtp(long16);
12586int16 const_func __attribute__((overloadable)) convert_int16_sat_rtp(long16);
12587int16 const_func __attribute__((overloadable)) convert_int16_rtn(long16);
12588int16 const_func __attribute__((overloadable)) convert_int16_sat_rtn(long16);
12589int16 const_func __attribute__((overloadable)) convert_int16(long16);
12590int16 const_func __attribute__((overloadable)) convert_int16_sat(long16);
12591int16 const_func __attribute__((overloadable)) convert_int16_rte(ulong16);
12592int16 const_func __attribute__((overloadable)) convert_int16_sat_rte(ulong16);
12593int16 const_func __attribute__((overloadable)) convert_int16_rtz(ulong16);
12594int16 const_func __attribute__((overloadable)) convert_int16_sat_rtz(ulong16);
12595int16 const_func __attribute__((overloadable)) convert_int16_rtp(ulong16);
12596int16 const_func __attribute__((overloadable)) convert_int16_sat_rtp(ulong16);
12597int16 const_func __attribute__((overloadable)) convert_int16_rtn(ulong16);
12598int16 const_func __attribute__((overloadable)) convert_int16_sat_rtn(ulong16);
12599int16 const_func __attribute__((overloadable)) convert_int16(ulong16);
12600int16 const_func __attribute__((overloadable)) convert_int16_sat(ulong16);
12601int16 const_func __attribute__((overloadable)) convert_int16_rte(float16);
12602int16 const_func __attribute__((overloadable)) convert_int16_sat_rte(float16);
12603int16 const_func __attribute__((overloadable)) convert_int16_rtz(float16);
12604int16 const_func __attribute__((overloadable)) convert_int16_sat_rtz(float16);
12605int16 const_func __attribute__((overloadable)) convert_int16_rtp(float16);
12606int16 const_func __attribute__((overloadable)) convert_int16_sat_rtp(float16);
12607int16 const_func __attribute__((overloadable)) convert_int16_rtn(float16);
12608int16 const_func __attribute__((overloadable)) convert_int16_sat_rtn(float16);
12609int16 const_func __attribute__((overloadable)) convert_int16(float16);
12610int16 const_func __attribute__((overloadable)) convert_int16_sat(float16);
12611int16 const_func __attribute__((overloadable)) convert_int16_rte(double16);
12612int16 const_func __attribute__((overloadable)) convert_int16_sat_rte(double16);
12613int16 const_func __attribute__((overloadable)) convert_int16_rtz(double16);
12614int16 const_func __attribute__((overloadable)) convert_int16_sat_rtz(double16);
12615int16 const_func __attribute__((overloadable)) convert_int16_rtp(double16);
12616int16 const_func __attribute__((overloadable)) convert_int16_sat_rtp(double16);
12617int16 const_func __attribute__((overloadable)) convert_int16_rtn(double16);
12618int16 const_func __attribute__((overloadable)) convert_int16_sat_rtn(double16);
12619int16 const_func __attribute__((overloadable)) convert_int16(double16);
12620int16 const_func __attribute__((overloadable)) convert_int16_sat(double16);
12621
12622uint16 const_func __attribute__((overloadable)) convert_uint16_rte(char16);
12623uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rte(char16);
12624uint16 const_func __attribute__((overloadable)) convert_uint16_rtz(char16);
12625uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtz(char16);
12626uint16 const_func __attribute__((overloadable)) convert_uint16_rtp(char16);
12627uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtp(char16);
12628uint16 const_func __attribute__((overloadable)) convert_uint16_rtn(char16);
12629uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtn(char16);
12630uint16 const_func __attribute__((overloadable)) convert_uint16(char16);
12631uint16 const_func __attribute__((overloadable)) convert_uint16_sat(char16);
12632uint16 const_func __attribute__((overloadable)) convert_uint16_rte(uchar16);
12633uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rte(uchar16);
12634uint16 const_func __attribute__((overloadable)) convert_uint16_rtz(uchar16);
12635uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtz(uchar16);
12636uint16 const_func __attribute__((overloadable)) convert_uint16_rtp(uchar16);
12637uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtp(uchar16);
12638uint16 const_func __attribute__((overloadable)) convert_uint16_rtn(uchar16);
12639uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtn(uchar16);
12640uint16 const_func __attribute__((overloadable)) convert_uint16(uchar16);
12641uint16 const_func __attribute__((overloadable)) convert_uint16_sat(uchar16);
12642uint16 const_func __attribute__((overloadable)) convert_uint16_rte(short16);
12643uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rte(short16);
12644uint16 const_func __attribute__((overloadable)) convert_uint16_rtz(short16);
12645uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtz(short16);
12646uint16 const_func __attribute__((overloadable)) convert_uint16_rtp(short16);
12647uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtp(short16);
12648uint16 const_func __attribute__((overloadable)) convert_uint16_rtn(short16);
12649uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtn(short16);
12650uint16 const_func __attribute__((overloadable)) convert_uint16(short16);
12651uint16 const_func __attribute__((overloadable)) convert_uint16_sat(short16);
12652uint16 const_func __attribute__((overloadable)) convert_uint16_rte(ushort16);
12653uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rte(ushort16);
12654uint16 const_func __attribute__((overloadable)) convert_uint16_rtz(ushort16);
12655uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtz(ushort16);
12656uint16 const_func __attribute__((overloadable)) convert_uint16_rtp(ushort16);
12657uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtp(ushort16);
12658uint16 const_func __attribute__((overloadable)) convert_uint16_rtn(ushort16);
12659uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtn(ushort16);
12660uint16 const_func __attribute__((overloadable)) convert_uint16(ushort16);
12661uint16 const_func __attribute__((overloadable)) convert_uint16_sat(ushort16);
12662uint16 const_func __attribute__((overloadable)) convert_uint16_rte(int16);
12663uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rte(int16);
12664uint16 const_func __attribute__((overloadable)) convert_uint16_rtz(int16);
12665uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtz(int16);
12666uint16 const_func __attribute__((overloadable)) convert_uint16_rtp(int16);
12667uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtp(int16);
12668uint16 const_func __attribute__((overloadable)) convert_uint16_rtn(int16);
12669uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtn(int16);
12670uint16 const_func __attribute__((overloadable)) convert_uint16(int16);
12671uint16 const_func __attribute__((overloadable)) convert_uint16_sat(int16);
12672uint16 const_func __attribute__((overloadable)) convert_uint16_rte(uint16);
12673uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rte(uint16);
12674uint16 const_func __attribute__((overloadable)) convert_uint16_rtz(uint16);
12675uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtz(uint16);
12676uint16 const_func __attribute__((overloadable)) convert_uint16_rtp(uint16);
12677uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtp(uint16);
12678uint16 const_func __attribute__((overloadable)) convert_uint16_rtn(uint16);
12679uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtn(uint16);
12680uint16 const_func __attribute__((overloadable)) convert_uint16(uint16);
12681uint16 const_func __attribute__((overloadable)) convert_uint16_sat(uint16);
12682uint16 const_func __attribute__((overloadable)) convert_uint16_rte(long16);
12683uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rte(long16);
12684uint16 const_func __attribute__((overloadable)) convert_uint16_rtz(long16);
12685uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtz(long16);
12686uint16 const_func __attribute__((overloadable)) convert_uint16_rtp(long16);
12687uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtp(long16);
12688uint16 const_func __attribute__((overloadable)) convert_uint16_rtn(long16);
12689uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtn(long16);
12690uint16 const_func __attribute__((overloadable)) convert_uint16(long16);
12691uint16 const_func __attribute__((overloadable)) convert_uint16_sat(long16);
12692uint16 const_func __attribute__((overloadable)) convert_uint16_rte(ulong16);
12693uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rte(ulong16);
12694uint16 const_func __attribute__((overloadable)) convert_uint16_rtz(ulong16);
12695uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtz(ulong16);
12696uint16 const_func __attribute__((overloadable)) convert_uint16_rtp(ulong16);
12697uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtp(ulong16);
12698uint16 const_func __attribute__((overloadable)) convert_uint16_rtn(ulong16);
12699uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtn(ulong16);
12700uint16 const_func __attribute__((overloadable)) convert_uint16(ulong16);
12701uint16 const_func __attribute__((overloadable)) convert_uint16_sat(ulong16);
12702uint16 const_func __attribute__((overloadable)) convert_uint16_rte(float16);
12703uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rte(float16);
12704uint16 const_func __attribute__((overloadable)) convert_uint16_rtz(float16);
12705uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtz(float16);
12706uint16 const_func __attribute__((overloadable)) convert_uint16_rtp(float16);
12707uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtp(float16);
12708uint16 const_func __attribute__((overloadable)) convert_uint16_rtn(float16);
12709uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtn(float16);
12710uint16 const_func __attribute__((overloadable)) convert_uint16(float16);
12711uint16 const_func __attribute__((overloadable)) convert_uint16_sat(float16);
12712uint16 const_func __attribute__((overloadable)) convert_uint16_rte(double16);
12713uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rte(double16);
12714uint16 const_func __attribute__((overloadable)) convert_uint16_rtz(double16);
12715uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtz(double16);
12716uint16 const_func __attribute__((overloadable)) convert_uint16_rtp(double16);
12717uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtp(double16);
12718uint16 const_func __attribute__((overloadable)) convert_uint16_rtn(double16);
12719uint16 const_func __attribute__((overloadable)) convert_uint16_sat_rtn(double16);
12720uint16 const_func __attribute__((overloadable)) convert_uint16(double16);
12721uint16 const_func __attribute__((overloadable)) convert_uint16_sat(double16);
12722long16 const_func __attribute__((overloadable)) convert_long16_rte(char16);
12723long16 const_func __attribute__((overloadable)) convert_long16_sat_rte(char16);
12724long16 const_func __attribute__((overloadable)) convert_long16_rtz(char16);
12725long16 const_func __attribute__((overloadable)) convert_long16_sat_rtz(char16);
12726long16 const_func __attribute__((overloadable)) convert_long16_rtp(char16);
12727long16 const_func __attribute__((overloadable)) convert_long16_sat_rtp(char16);
12728long16 const_func __attribute__((overloadable)) convert_long16_rtn(char16);
12729long16 const_func __attribute__((overloadable)) convert_long16_sat_rtn(char16);
12730long16 const_func __attribute__((overloadable)) convert_long16(char16);
12731long16 const_func __attribute__((overloadable)) convert_long16_sat(char16);
12732long16 const_func __attribute__((overloadable)) convert_long16_rte(uchar16);
12733long16 const_func __attribute__((overloadable)) convert_long16_sat_rte(uchar16);
12734long16 const_func __attribute__((overloadable)) convert_long16_rtz(uchar16);
12735long16 const_func __attribute__((overloadable)) convert_long16_sat_rtz(uchar16);
12736long16 const_func __attribute__((overloadable)) convert_long16_rtp(uchar16);
12737long16 const_func __attribute__((overloadable)) convert_long16_sat_rtp(uchar16);
12738long16 const_func __attribute__((overloadable)) convert_long16_rtn(uchar16);
12739long16 const_func __attribute__((overloadable)) convert_long16_sat_rtn(uchar16);
12740long16 const_func __attribute__((overloadable)) convert_long16(uchar16);
12741long16 const_func __attribute__((overloadable)) convert_long16_sat(uchar16);
12742long16 const_func __attribute__((overloadable)) convert_long16_rte(short16);
12743long16 const_func __attribute__((overloadable)) convert_long16_sat_rte(short16);
12744long16 const_func __attribute__((overloadable)) convert_long16_rtz(short16);
12745long16 const_func __attribute__((overloadable)) convert_long16_sat_rtz(short16);
12746long16 const_func __attribute__((overloadable)) convert_long16_rtp(short16);
12747long16 const_func __attribute__((overloadable)) convert_long16_sat_rtp(short16);
12748long16 const_func __attribute__((overloadable)) convert_long16_rtn(short16);
12749long16 const_func __attribute__((overloadable)) convert_long16_sat_rtn(short16);
12750long16 const_func __attribute__((overloadable)) convert_long16(short16);
12751long16 const_func __attribute__((overloadable)) convert_long16_sat(short16);
12752long16 const_func __attribute__((overloadable)) convert_long16_rte(ushort16);
12753long16 const_func __attribute__((overloadable)) convert_long16_sat_rte(ushort16);
12754long16 const_func __attribute__((overloadable)) convert_long16_rtz(ushort16);
12755long16 const_func __attribute__((overloadable)) convert_long16_sat_rtz(ushort16);
12756long16 const_func __attribute__((overloadable)) convert_long16_rtp(ushort16);
12757long16 const_func __attribute__((overloadable)) convert_long16_sat_rtp(ushort16);
12758long16 const_func __attribute__((overloadable)) convert_long16_rtn(ushort16);
12759long16 const_func __attribute__((overloadable)) convert_long16_sat_rtn(ushort16);
12760long16 const_func __attribute__((overloadable)) convert_long16(ushort16);
12761long16 const_func __attribute__((overloadable)) convert_long16_sat(ushort16);
12762long16 const_func __attribute__((overloadable)) convert_long16_rte(int16);
12763long16 const_func __attribute__((overloadable)) convert_long16_sat_rte(int16);
12764long16 const_func __attribute__((overloadable)) convert_long16_rtz(int16);
12765long16 const_func __attribute__((overloadable)) convert_long16_sat_rtz(int16);
12766long16 const_func __attribute__((overloadable)) convert_long16_rtp(int16);
12767long16 const_func __attribute__((overloadable)) convert_long16_sat_rtp(int16);
12768long16 const_func __attribute__((overloadable)) convert_long16_rtn(int16);
12769long16 const_func __attribute__((overloadable)) convert_long16_sat_rtn(int16);
12770long16 const_func __attribute__((overloadable)) convert_long16(int16);
12771long16 const_func __attribute__((overloadable)) convert_long16_sat(int16);
12772long16 const_func __attribute__((overloadable)) convert_long16_rte(uint16);
12773long16 const_func __attribute__((overloadable)) convert_long16_sat_rte(uint16);
12774long16 const_func __attribute__((overloadable)) convert_long16_rtz(uint16);
12775long16 const_func __attribute__((overloadable)) convert_long16_sat_rtz(uint16);
12776long16 const_func __attribute__((overloadable)) convert_long16_rtp(uint16);
12777long16 const_func __attribute__((overloadable)) convert_long16_sat_rtp(uint16);
12778long16 const_func __attribute__((overloadable)) convert_long16_rtn(uint16);
12779long16 const_func __attribute__((overloadable)) convert_long16_sat_rtn(uint16);
12780long16 const_func __attribute__((overloadable)) convert_long16(uint16);
12781long16 const_func __attribute__((overloadable)) convert_long16_sat(uint16);
12782long16 const_func __attribute__((overloadable)) convert_long16_rte(long16);
12783long16 const_func __attribute__((overloadable)) convert_long16_sat_rte(long16);
12784long16 const_func __attribute__((overloadable)) convert_long16_rtz(long16);
12785long16 const_func __attribute__((overloadable)) convert_long16_sat_rtz(long16);
12786long16 const_func __attribute__((overloadable)) convert_long16_rtp(long16);
12787long16 const_func __attribute__((overloadable)) convert_long16_sat_rtp(long16);
12788long16 const_func __attribute__((overloadable)) convert_long16_rtn(long16);
12789long16 const_func __attribute__((overloadable)) convert_long16_sat_rtn(long16);
12790long16 const_func __attribute__((overloadable)) convert_long16(long16);
12791long16 const_func __attribute__((overloadable)) convert_long16_sat(long16);
12792long16 const_func __attribute__((overloadable)) convert_long16_rte(ulong16);
12793long16 const_func __attribute__((overloadable)) convert_long16_sat_rte(ulong16);
12794long16 const_func __attribute__((overloadable)) convert_long16_rtz(ulong16);
12795long16 const_func __attribute__((overloadable)) convert_long16_sat_rtz(ulong16);
12796long16 const_func __attribute__((overloadable)) convert_long16_rtp(ulong16);
12797long16 const_func __attribute__((overloadable)) convert_long16_sat_rtp(ulong16);
12798long16 const_func __attribute__((overloadable)) convert_long16_rtn(ulong16);
12799long16 const_func __attribute__((overloadable)) convert_long16_sat_rtn(ulong16);
12800long16 const_func __attribute__((overloadable)) convert_long16(ulong16);
12801long16 const_func __attribute__((overloadable)) convert_long16_sat(ulong16);
12802long16 const_func __attribute__((overloadable)) convert_long16_rte(float16);
12803long16 const_func __attribute__((overloadable)) convert_long16_sat_rte(float16);
12804long16 const_func __attribute__((overloadable)) convert_long16_rtz(float16);
12805long16 const_func __attribute__((overloadable)) convert_long16_sat_rtz(float16);
12806long16 const_func __attribute__((overloadable)) convert_long16_rtp(float16);
12807long16 const_func __attribute__((overloadable)) convert_long16_sat_rtp(float16);
12808long16 const_func __attribute__((overloadable)) convert_long16_rtn(float16);
12809long16 const_func __attribute__((overloadable)) convert_long16_sat_rtn(float16);
12810long16 const_func __attribute__((overloadable)) convert_long16(float16);
12811long16 const_func __attribute__((overloadable)) convert_long16_sat(float16);
12812long16 const_func __attribute__((overloadable)) convert_long16_rte(double16);
12813long16 const_func __attribute__((overloadable)) convert_long16_sat_rte(double16);
12814long16 const_func __attribute__((overloadable)) convert_long16_rtz(double16);
12815long16 const_func __attribute__((overloadable)) convert_long16_sat_rtz(double16);
12816long16 const_func __attribute__((overloadable)) convert_long16_rtp(double16);
12817long16 const_func __attribute__((overloadable)) convert_long16_sat_rtp(double16);
12818long16 const_func __attribute__((overloadable)) convert_long16_rtn(double16);
12819long16 const_func __attribute__((overloadable)) convert_long16_sat_rtn(double16);
12820long16 const_func __attribute__((overloadable)) convert_long16(double16);
12821long16 const_func __attribute__((overloadable)) convert_long16_sat(double16);
12822
12823ulong16 const_func __attribute__((overloadable)) convert_ulong16_rte(char16);
12824ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rte(char16);
12825ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtz(char16);
12826ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtz(char16);
12827ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtp(char16);
12828ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtp(char16);
12829ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtn(char16);
12830ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtn(char16);
12831ulong16 const_func __attribute__((overloadable)) convert_ulong16(char16);
12832ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat(char16);
12833ulong16 const_func __attribute__((overloadable)) convert_ulong16_rte(uchar16);
12834ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rte(uchar16);
12835ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtz(uchar16);
12836ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtz(uchar16);
12837ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtp(uchar16);
12838ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtp(uchar16);
12839ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtn(uchar16);
12840ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtn(uchar16);
12841ulong16 const_func __attribute__((overloadable)) convert_ulong16(uchar16);
12842ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat(uchar16);
12843ulong16 const_func __attribute__((overloadable)) convert_ulong16_rte(short16);
12844ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rte(short16);
12845ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtz(short16);
12846ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtz(short16);
12847ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtp(short16);
12848ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtp(short16);
12849ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtn(short16);
12850ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtn(short16);
12851ulong16 const_func __attribute__((overloadable)) convert_ulong16(short16);
12852ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat(short16);
12853ulong16 const_func __attribute__((overloadable)) convert_ulong16_rte(ushort16);
12854ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rte(ushort16);
12855ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtz(ushort16);
12856ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtz(ushort16);
12857ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtp(ushort16);
12858ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtp(ushort16);
12859ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtn(ushort16);
12860ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtn(ushort16);
12861ulong16 const_func __attribute__((overloadable)) convert_ulong16(ushort16);
12862ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat(ushort16);
12863ulong16 const_func __attribute__((overloadable)) convert_ulong16_rte(int16);
12864ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rte(int16);
12865ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtz(int16);
12866ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtz(int16);
12867ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtp(int16);
12868ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtp(int16);
12869ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtn(int16);
12870ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtn(int16);
12871ulong16 const_func __attribute__((overloadable)) convert_ulong16(int16);
12872ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat(int16);
12873ulong16 const_func __attribute__((overloadable)) convert_ulong16_rte(uint16);
12874ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rte(uint16);
12875ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtz(uint16);
12876ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtz(uint16);
12877ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtp(uint16);
12878ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtp(uint16);
12879ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtn(uint16);
12880ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtn(uint16);
12881ulong16 const_func __attribute__((overloadable)) convert_ulong16(uint16);
12882ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat(uint16);
12883ulong16 const_func __attribute__((overloadable)) convert_ulong16_rte(long16);
12884ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rte(long16);
12885ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtz(long16);
12886ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtz(long16);
12887ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtp(long16);
12888ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtp(long16);
12889ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtn(long16);
12890ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtn(long16);
12891ulong16 const_func __attribute__((overloadable)) convert_ulong16(long16);
12892ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat(long16);
12893ulong16 const_func __attribute__((overloadable)) convert_ulong16_rte(ulong16);
12894ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rte(ulong16);
12895ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtz(ulong16);
12896ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtz(ulong16);
12897ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtp(ulong16);
12898ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtp(ulong16);
12899ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtn(ulong16);
12900ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtn(ulong16);
12901ulong16 const_func __attribute__((overloadable)) convert_ulong16(ulong16);
12902ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat(ulong16);
12903ulong16 const_func __attribute__((overloadable)) convert_ulong16_rte(float16);
12904ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rte(float16);
12905ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtz(float16);
12906ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtz(float16);
12907ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtp(float16);
12908ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtp(float16);
12909ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtn(float16);
12910ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtn(float16);
12911ulong16 const_func __attribute__((overloadable)) convert_ulong16(float16);
12912ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat(float16);
12913ulong16 const_func __attribute__((overloadable)) convert_ulong16_rte(double16);
12914ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rte(double16);
12915ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtz(double16);
12916ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtz(double16);
12917ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtp(double16);
12918ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtp(double16);
12919ulong16 const_func __attribute__((overloadable)) convert_ulong16_rtn(double16);
12920ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat_rtn(double16);
12921ulong16 const_func __attribute__((overloadable)) convert_ulong16(double16);
12922ulong16 const_func __attribute__((overloadable)) convert_ulong16_sat(double16);
12923
12924float16 const_func __attribute__((overloadable)) convert_float16_rte(char16);
12925float16 const_func __attribute__((overloadable)) convert_float16_rtz(char16);
12926float16 const_func __attribute__((overloadable)) convert_float16_rtp(char16);
12927float16 const_func __attribute__((overloadable)) convert_float16_rtn(char16);
12928float16 const_func __attribute__((overloadable)) convert_float16(char16);
12929float16 const_func __attribute__((overloadable)) convert_float16_rte(uchar16);
12930float16 const_func __attribute__((overloadable)) convert_float16_rtz(uchar16);
12931float16 const_func __attribute__((overloadable)) convert_float16_rtp(uchar16);
12932float16 const_func __attribute__((overloadable)) convert_float16_rtn(uchar16);
12933float16 const_func __attribute__((overloadable)) convert_float16(uchar16);
12934float16 const_func __attribute__((overloadable)) convert_float16_rte(short16);
12935float16 const_func __attribute__((overloadable)) convert_float16_rtz(short16);
12936float16 const_func __attribute__((overloadable)) convert_float16_rtp(short16);
12937float16 const_func __attribute__((overloadable)) convert_float16_rtn(short16);
12938float16 const_func __attribute__((overloadable)) convert_float16(short16);
12939float16 const_func __attribute__((overloadable)) convert_float16_rte(ushort16);
12940float16 const_func __attribute__((overloadable)) convert_float16_rtz(ushort16);
12941float16 const_func __attribute__((overloadable)) convert_float16_rtp(ushort16);
12942float16 const_func __attribute__((overloadable)) convert_float16_rtn(ushort16);
12943float16 const_func __attribute__((overloadable)) convert_float16(ushort16);
12944float16 const_func __attribute__((overloadable)) convert_float16_rte(int16);
12945float16 const_func __attribute__((overloadable)) convert_float16_rtz(int16);
12946float16 const_func __attribute__((overloadable)) convert_float16_rtp(int16);
12947float16 const_func __attribute__((overloadable)) convert_float16_rtn(int16);
12948float16 const_func __attribute__((overloadable)) convert_float16(int16);
12949float16 const_func __attribute__((overloadable)) convert_float16_rte(uint16);
12950float16 const_func __attribute__((overloadable)) convert_float16_rtz(uint16);
12951float16 const_func __attribute__((overloadable)) convert_float16_rtp(uint16);
12952float16 const_func __attribute__((overloadable)) convert_float16_rtn(uint16);
12953float16 const_func __attribute__((overloadable)) convert_float16(uint16);
12954float16 const_func __attribute__((overloadable)) convert_float16_rte(long16);
12955float16 const_func __attribute__((overloadable)) convert_float16_rtz(long16);
12956float16 const_func __attribute__((overloadable)) convert_float16_rtp(long16);
12957float16 const_func __attribute__((overloadable)) convert_float16_rtn(long16);
12958float16 const_func __attribute__((overloadable)) convert_float16(long16);
12959float16 const_func __attribute__((overloadable)) convert_float16_rte(ulong16);
12960float16 const_func __attribute__((overloadable)) convert_float16_rtz(ulong16);
12961float16 const_func __attribute__((overloadable)) convert_float16_rtp(ulong16);
12962float16 const_func __attribute__((overloadable)) convert_float16_rtn(ulong16);
12963float16 const_func __attribute__((overloadable)) convert_float16(ulong16);
12964float16 const_func __attribute__((overloadable)) convert_float16_rte(float16);
12965float16 const_func __attribute__((overloadable)) convert_float16_rtz(float16);
12966float16 const_func __attribute__((overloadable)) convert_float16_rtp(float16);
12967float16 const_func __attribute__((overloadable)) convert_float16_rtn(float16);
12968float16 const_func __attribute__((overloadable)) convert_float16(float16);
12969float16 const_func __attribute__((overloadable)) convert_float16_rte(double16);
12970float16 const_func __attribute__((overloadable)) convert_float16_rtz(double16);
12971float16 const_func __attribute__((overloadable)) convert_float16_rtp(double16);
12972float16 const_func __attribute__((overloadable)) convert_float16_rtn(double16);
12973float16 const_func __attribute__((overloadable)) convert_float16(double16);
12974
12975double16 const_func __attribute__((overloadable)) convert_double16_rte(char16);
12976double16 const_func __attribute__((overloadable)) convert_double16_rtz(char16);
12977double16 const_func __attribute__((overloadable)) convert_double16_rtp(char16);
12978double16 const_func __attribute__((overloadable)) convert_double16_rtn(char16);
12979double16 const_func __attribute__((overloadable)) convert_double16(char16);
12980double16 const_func __attribute__((overloadable)) convert_double16_rte(uchar16);
12981double16 const_func __attribute__((overloadable)) convert_double16_rtz(uchar16);
12982double16 const_func __attribute__((overloadable)) convert_double16_rtp(uchar16);
12983double16 const_func __attribute__((overloadable)) convert_double16_rtn(uchar16);
12984double16 const_func __attribute__((overloadable)) convert_double16(uchar16);
12985double16 const_func __attribute__((overloadable)) convert_double16_rte(short16);
12986double16 const_func __attribute__((overloadable)) convert_double16_rtz(short16);
12987double16 const_func __attribute__((overloadable)) convert_double16_rtp(short16);
12988double16 const_func __attribute__((overloadable)) convert_double16_rtn(short16);
12989double16 const_func __attribute__((overloadable)) convert_double16(short16);
12990double16 const_func __attribute__((overloadable)) convert_double16_rte(ushort16);
12991double16 const_func __attribute__((overloadable)) convert_double16_rtz(ushort16);
12992double16 const_func __attribute__((overloadable)) convert_double16_rtp(ushort16);
12993double16 const_func __attribute__((overloadable)) convert_double16_rtn(ushort16);
12994double16 const_func __attribute__((overloadable)) convert_double16(ushort16);
12995double16 const_func __attribute__((overloadable)) convert_double16_rte(int16);
12996double16 const_func __attribute__((overloadable)) convert_double16_rtz(int16);
12997double16 const_func __attribute__((overloadable)) convert_double16_rtp(int16);
12998double16 const_func __attribute__((overloadable)) convert_double16_rtn(int16);
12999double16 const_func __attribute__((overloadable)) convert_double16(int16);
13000double16 const_func __attribute__((overloadable)) convert_double16_rte(uint16);
13001double16 const_func __attribute__((overloadable)) convert_double16_rtz(uint16);
13002double16 const_func __attribute__((overloadable)) convert_double16_rtp(uint16);
13003double16 const_func __attribute__((overloadable)) convert_double16_rtn(uint16);
13004double16 const_func __attribute__((overloadable)) convert_double16(uint16);
13005double16 const_func __attribute__((overloadable)) convert_double16_rte(long16);
13006double16 const_func __attribute__((overloadable)) convert_double16_rtz(long16);
13007double16 const_func __attribute__((overloadable)) convert_double16_rtp(long16);
13008double16 const_func __attribute__((overloadable)) convert_double16_rtn(long16);
13009double16 const_func __attribute__((overloadable)) convert_double16(long16);
13010double16 const_func __attribute__((overloadable)) convert_double16_rte(ulong16);
13011double16 const_func __attribute__((overloadable)) convert_double16_rtz(ulong16);
13012double16 const_func __attribute__((overloadable)) convert_double16_rtp(ulong16);
13013double16 const_func __attribute__((overloadable)) convert_double16_rtn(ulong16);
13014double16 const_func __attribute__((overloadable)) convert_double16(ulong16);
13015double16 const_func __attribute__((overloadable)) convert_double16_rte(float16);
13016double16 const_func __attribute__((overloadable)) convert_double16_rtz(float16);
13017double16 const_func __attribute__((overloadable)) convert_double16_rtp(float16);
13018double16 const_func __attribute__((overloadable)) convert_double16_rtn(float16);
13019double16 const_func __attribute__((overloadable)) convert_double16(float16);
13020double16 const_func __attribute__((overloadable)) convert_double16_rte(double16);
13021double16 const_func __attribute__((overloadable)) convert_double16_rtz(double16);
13022double16 const_func __attribute__((overloadable)) convert_double16_rtp(double16);
13023double16 const_func __attribute__((overloadable)) convert_double16_rtn(double16);
13024double16 const_func __attribute__((overloadable)) convert_double16(double16);
13025
13026#endif
T sign(const T &val)
Definition: math.hpp:337
auto dot(const vec< T, size > &x, const vec< T, size > &y)
Definition: math.hpp:322
T min(const T &x, const T &y, const T &z)
Definition: math.hpp:235
auto length(const vec< T, size > &x)
Definition: math.hpp:315
int size auto cross(const vec< T, size > &x, const vec< T, size > &y)
Definition: math.hpp:296
int size auto fmax(const vec< T, size > &x, const vec< T, size > &y)
Definition: math.hpp:164
auto normalize(const vec< T, size > &x)
Definition: math.hpp:328
auto max(const vec< T, size > &x, const vec< T, size > &y)
Definition: math.hpp:226
int size auto fmin(const vec< T, size > &x, const vec< T, size > &y)
Definition: math.hpp:180
char const_func char minval
Definition: opencl_spir.h:2707
int printf(__constant const char *st,...)
float __global float * cosval
Definition: opencl_spir.h:1892
event_t const __global char size_t size_t src_stride
Definition: opencl_spir.h:6020
event_t const __global char size_t event_t event
Definition: opencl_spir.h:5863
char2 const __global char * p
Definition: opencl_spir.h:4827
event_t const __global char size_t num_elements
Definition: opencl_spir.h:5863
float4 const_func float4 p1
Definition: opencl_spir.h:3787
void int2 float4 color
Definition: opencl_spir.h:7138
void size_t offset
Definition: opencl_spir.h:5062
char const_func char char maxval
Definition: opencl_spir.h:2707
float const_func float float c
Definition: opencl_spir.h:915
void event_t * event_list
Definition: opencl_spir.h:6162
float const_func float edge1
Definition: opencl_spir.h:3722
float4 sampler_t int2 coord
Definition: opencl_spir.h:7027
float const_func float b
Definition: opencl_spir.h:915
size_t uintptr_t
Definition: opencl_spir.h:72
char2 const_func uchar2 mask
Definition: opencl_spir.h:6535
float const_func float x
Definition: opencl_spir.h:489
uint cl_mem_fence_flags
All work-items in a work-group executing the kernel on a processor must execute this function before ...
Definition: opencl_spir.h:5774
#define const_func
Added according to pocl/examples/example1-spir64/generate_spir.sh.
Definition: opencl_spir.h:21
char const_func char i
Definition: opencl_spir.h:3222
unsigned char uchar
An unsigned 8-bit integer.
Definition: opencl_spir.h:29
event_t const __global char * src
Definition: opencl_spir.h:5863
unsigned long ulong
An unsigned 64-bit integer.
Definition: opencl_spir.h:44
unsigned int uint
An unsigned 32-bit integer.
Definition: opencl_spir.h:39
float const_func int n
Definition: opencl_spir.h:1205
float __global float * iptr
Definition: opencl_spir.h:1040
float const_func float y
Definition: opencl_spir.h:623
float __global int * signp
Definition: opencl_spir.h:1265
float4 sampler_t sampler
Definition: opencl_spir.h:7027
unsigned short ushort
An unsigned 16-bit integer.
Definition: opencl_spir.h:34
ptrdiff_t intptr_t
The unsigned integer type of the result of the sizeof operator.
Definition: opencl_spir.h:70
float __global int * exp
Definition: opencl_spir.h:1102
int const_func int int z
Definition: opencl_spir.h:3431
float float __global int * quo
Definition: opencl_spir.h:1717
event_t const __local char size_t size_t dst_stride
Definition: opencl_spir.h:6074
int int cmp
Definition: opencl_spir.h:6359
char char2 __attribute__((ext_vector_type(2)))
Returns the number of global work-items specified for dimension identified by dimindx.
Definition: opencl_spir.h:77
short const_func uchar lo
Definition: opencl_spir.h:3327
int int val
Definition: opencl_spir.h:6245
float const_func float float a
Definition: opencl_spir.h:3613
#define __global
Added according to pocl/examples/example1-spir64/generate_spir.sh.
#define __local
#define __constant
#define __private